W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2013

[whatwg] Simplified <picture> element draft

From: Kornel Lesiński <kornel@geekhood.net>
Date: Sat, 23 Nov 2013 23:04:00 -0000
To: whatwg <whatwg@whatwg.org>
Message-ID: <op.w60ycyg7te2ec8@aimac.local>

I've written down proposal for the simplified source selection algorithm:


This also includes variant of the idea from the recent "<picture> redux"  
proposal to use an actual <img> element as the basis for the <picture>  
element definition.

This draft doesn't include all features of src-N *yet*, but I expect this  
to be added either via extended srcset syntax to something like <source  
sizes> once there's consensus how to approach this.

To simplify implementation even further I've allowed UAs to flatten  
fallback DOM to a plaintext string (in case they need to emulate <img alt>  
for existing screen readers or accessibility APIs).

I've dropped usemap. It could be added, but I'm not sure if there is need  
for it.

I've specified very few IDL attributes. This area may need to be extended.

regards, Kornel
Received on Saturday, 23 November 2013 23:04:35 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:14 UTC