W3C home > Mailing lists > Public > whatwg@whatwg.org > May 2012

Re: [whatwg] Throwing in my support for <picture> into the mix

From: Mikko Rantalainen <mikko.rantalainen@peda.net>
Date: Fri, 18 May 2012 09:57:43 +0300
Message-ID: <4FB5F2E7.8050707@peda.net>
To: whatwg@lists.whatwg.org
2012-05-16 18:01 Europe/Helsinki: Julian Reschke:
> On 2012-05-16 16:36, Glenn Maynard wrote:
>> On Wed, May 16, 2012 at 9:16 AM, Julian Reschke <julian.reschke@gmx.de
>> <mailto:julian.reschke@gmx.de>> wrote:
>> Actually, the key point is that this is non-conforming to start
>> with: image candidate strings must have at least one descriptor
>> (http://www.whatwg.org/specs/web-apps/current-work/#image-candidate-string).
>> ...
> 
> My point being that the syntax is fragile unless implementations follow 
> the spec word by word. I know they are supposed to, but the way it's 
> introduced *will* make people split the attribute value by ",".

HTML5 parser is also fragile unless implementations follow the spec. It
doesn't make much sense to spec anything in HTML5 if you cannot trust
the browser vendors to read it. In addition, if some vendor does not
follow the spec, it's *very* easy to point that out. This situation is
very unlike the old HTML versions that left way too much unspecified and
almost any behavior was acceptable by the spec for many corner cases.

The spec is pretty clear for the implementors so the only issue should
be if content authors can deal with the syntax. Also remember that the
current spec tries to make it very clear that the UA is free to choose
any of the available images as used no matter what the content author
says (however, it does recommend the spec to be followed).

-- 
Mikko
Received on Friday, 18 May 2012 06:58:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:48:08 GMT