[whatwg] Simplified <picture> element draft
Adam Barth
w3c at adambarth.com
Sun Nov 24 23:33:33 PST 2013
I'm trying to sort out from the many messages on this topic which
proposal I should read in detail. Is the one linked below the one
that people are most excited about? I'm I correct in understand that
this proposal contains srcset as a subcomponent?
Thanks,
Adam
On Sat, Nov 23, 2013 at 3:04 PM, Kornel Lesiński <kornel at geekhood.net> wrote:
>
> I've written down proposal for the simplified source selection algorithm:
>
> http://geekhood.net/picture-element.html
>
> 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
More information about the whatwg
mailing list