[whatwg] <picture> added to HTML

A while ago I took over editing of a small part of the HTML spec,  
involving the <img> element.

http://html5.org/r/8612

That part is now maintained here:

https://github.com/ResponsiveImagesCG/picture-element/blob/gh-pages/source

I have in the past few weeks worked on making the spec more closely match  
browsers in how <img> loading works (involving "current request" and  
"pending request").

This week I have ported over the http://picture.responsiveimages.org/ spec  
to HTML, which added the <picture> element, redefined the srcset attribute  
on img and added the sizes attribute on img, and also the .currentSrc IDL  
attribute on img.

Open issues are currently in two places for historical reasons:

https://www.w3.org/Bugs/Public/buglist.cgi?quicksearch=<img>&list_id=39575
https://github.com/ResponsiveImagesCG/picture-element/issues?state=open

There is ongoing work to implement this in Blink[1], Gecko[2], and  
WebKit[3]. For IE it is "under consideration"[4].

[1] https://code.google.com/p/chromium/issues/detail?id=233751
[2] https://bugzilla.mozilla.org/show_bug.cgi?id=picture
[3] https://bugs.webkit.org/show_bug.cgi?id=116963  
https://bugs.webkit.org/show_bug.cgi?id=133620
[4] http://status.modern.ie/pictureelement

This work has been baking in the picture specification for some time and  
we have worked very closely with implementors for the past few months. I  
consider it to be stable. I don't expect any further  
backwards-incompatible changes at this point.

Feedback is very much welcome.

cheers
-- 
Simon Pieters
Opera Software

Received on Thursday, 19 June 2014 12:09:00 UTC