Re: [picture] spec text regarding sibling sources needing media or type attr

On Sun, 19 Jul 2015 18:27:44 +0200, Yoav Weiss <yoav@yoav.ws> wrote:

> That's part of the authoring requirements, not the processing model. That
> syntax is invalid, yet processed just fine.
>
> The reason it is invalid IIRC, is that in that construct, the <source>
> element always gets picked, making following <source> elements and the
> <img> redundant as far as resource selection is concerned.

Yep. You need to ignore the authoring requirements when implementing;  
don't infer something the spec doesn't require you to do. :-)

Also see

https://html.spec.whatwg.org/multipage/infrastructure.html#conformance-classes
https://html.spec.whatwg.org/multipage/introduction.html#conformance-requirements-for-authors

and maybe

http://ln.hixie.ch/?start=1140242962&count=1

cheers
-- 
Simon Pieters
Opera Software

Received on Wednesday, 22 July 2015 22:22:15 UTC