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

Re: [whatwg] srcset javascript implementation (Respondu)

From: <huperekchuno@googlemail.com>
Date: Mon, 21 May 2012 14:58:27 +0000
Message-ID: <928596263-1337612308-cardhu_decombobulator_blackberry.rim.net-704846130-@b2.c10.bise7.blackberry>
To: "Glenn Maynard" <glenn@zewt.org>
Cc: whatwg@whatwg.org
Hey Glen, 

Thanks for that!

Sent from my BlackBerry® smartphone on O2

-----Original Message-----
From: Glenn Maynard <glenn@zewt.org>
Date: Mon, 21 May 2012 09:12:58 
To: <huperekchuno@googlemail.com>
Cc: Julian Reschke<julian.reschke@gmx.de>; <whatwg@whatwg.org>
Subject: Re: [whatwg] srcset javascript implementation (Respondu)

On Mon, May 21, 2012 at 2:36 AM, <huperekchuno@googlemail.com> wrote:

> Hey Julian
> I believe the attribute sets are delimited by comma, whereas each
> attribute itself is separated by space?
> The split is to load each attribute set into an array.
> The actual attributes themselves are matched with regex's, to be more
> forgiving to the order.

What you need is the parsing algorithm:


(modulo https://www.w3.org/Bugs/Public/show_bug.cgi?id=17079, at least)

Glenn Maynard

Received on Monday, 21 May 2012 14:59:27 UTC

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