WebKit: Improved Support for High-Resolution Displays With the ‘srcset’ Image Attribute

Dean Jackson, WebKit:

WebKit now supports the srcset attribute on image (img) elements (official specification from the W3C). This allows you, the developer, to specify higher-quality images for your users who have high-resolution displays, without penalizing the users who don’t. Importantly, it also provides a graceful fallback for browsers that don’t yet support the feature.

Just what the doctor ordered. Nice work.

Tuesday, 13 August 2013