Wednesday, August 14, 2013

WebKit’s srcset Image Attribute

Dean Jackson:

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.

I’d like to see this (or the CSS equivalent -webkit-image-set) supported in FancyZoom.

Update (2013-08-22): There’s an interesting discussion of this on Hacker News.

2 Comments RSS · Twitter


Arrrgh.

Dear web browsers, web developers, W3C, et al: HTTP 1.1 called: it wants its content negotiation support back on account of y'all being too damn stupid to use it right.

Honestly, who thought it was a good idea to have such steaming ignoramuses in charge of the most powerful global communication system ever devised? Heath Robinson's finest contraptions have nothing on these fools' 'work'.


[…] Previously: WebKit’s srcset Image Attribute. […]

Leave a Comment