By John Gruber
Give up bad coffee for good.
Salem • Boston • Tokyo
20% off with code: DF
Dean Jackson, WebKit:
WebKit now supports the
srcsetattribute 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