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

Re: [whatwg] <img srcset> for responsive bitmapped content images

From: Julian Reschke <julian.reschke@gmx.de>
Date: Wed, 16 May 2012 13:32:18 +0200
Message-ID: <4FB39042.5060301@gmx.de>
To: Odin Hørthe Omdal <odinho@opera.com>
Cc: whatwg@lists.whatwg.org
On 2012-05-16 11:51, Odin Hørthe Omdal wrote:
> On Wed, 16 May 2012 11:22:07 +0200, Julian Reschke
> <julian.reschke@gmx.de> wrote:
>> Inventing a new microsyntax is tricky.
>> - "comma separated" implies you'll need to escape a comma when it
>> appears in a URI; this may be a problem when the URI scheme assigns a
>> special meaning to the comma (so it doesn't affect HTTP but still...)
> Indeed.
> Edward did not write it all as a spec, though, so cases like that might
> be a bit detailed for a first proposal. Hixies extension of srcset does
> however have some spec text, and that does in fact handle your first case:
> <http://www.whatwg.org/specs/web-apps/current-work/multipage/embedded-content-1.html#processing-the-image-candidates>
> ...

It looks like that, but it's non-trivial to check (that's why I prefer 
declarative definitions).

Best regards, Julian
Received on Wednesday, 16 May 2012 11:32:55 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:42 UTC