W3C home > Mailing lists > Public > public-respimg@w3.org > July 2015

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

From: Simon Pieters <simonp@opera.com>
Date: Thu, 23 Jul 2015 00:21:43 +0200
To: "Greg Whitworth" <gwhit@microsoft.com>, "Yoav Weiss" <yoav@yoav.ws>
Cc: "public-respimg@w3.org" <public-respimg@w3.org>
Message-ID: <op.x164ehliidj3kv@simons-mbp>
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

This archive was generated by hypermail 2.3.1 : Wednesday, 22 July 2015 22:22:16 UTC