Skip to main content

Chrome 29 beta adds resolution media query

Google has announced the release of the Chrome 29 beta, which brings a number of new APIs and developer features to the desktop and Android releases.

One of the listed web platform features is the resolution media query, which Google said enables designers to “tailor your CSS to specific pixel densities”.

This is something web developer and author Peter Gasston wrote about for Broken Links a year ago. Speaking to .net today, he thought that the introduction of the resolution media query feature in Chrome “is not by itself a huge game changer, but it is another step towards a cross-browser standard”.

He noted that Safari is currently lagging in support, “which is a shame and somewhat odd, because it’s been implemented in WebKit since late last year”. However, he added that you can use the proprietary -webkit-device-pixel-ratio media feature in Safari. Although, he said this is not as flexible as resolution “because it accepts only a single unitless value, whereas resolution works with dpi, dpcm, and dppx”.

Among the other changes that will appeal to developers are support for the Web Audio API and WebRTC on Android. Google’s blog post explained the goal of supporting Web Audio API is to “allow web developers to implement professional-quality audio production applications and modern game audio engines,” while WebRTC is designed to enable real-time communication in the browser.

The Creative Bloq team is made up of a group of design fans, and has changed and evolved since Creative Bloq began over a decade ago. The current website team consists of five people: Editor Kerrie Hughes, Deputy Editor Rosie Hilder, Deals Editor Beren Neale, Senior News Editor Daniel Piper, and Staff Writer Amelia Bamsey. The 3D World and ImagineFX magazine teams also pitch in, ensuring that content from 3D World and ImagineFX is represented on Creative Bloq.