[whatwg] srcset javascript implementation (Respondu)

huperekchuno at googlemail.com huperekchuno at googlemail.com
Mon May 21 07:57:44 PDT 2012


Hey Julian

Thanks for picking up on that, that's exactly why I needed another pair of eyes. I've actually read about the comma in urls issue but at some point that got lost at around 2am. 

I suppose I'll split it into an array by matching filenames instead.

If you (or anyone) has any more comments I'd be glad to hear them,

Many thanks,
Dave 
------Original Message------
From: Julian Reschke
To: huperekchuno at googlemail.com
Cc: whatwg at whatwg.org
Subject: Re: [whatwg] srcset javascript implementation (Respondu)
Sent: 21 May 2012 08:52

On 2012-05-21 09:36, huperekchuno at googlemail.com wrote:
> Hey Julian
>
> I believe the attribute sets are delimited by comma, whereas each attribute itself is separated by space?

No. The URIs can contain a comma, so you can't use that delimiter. See 
the parsing definition in the spec.

> ...

(Please don't take this as a complaint about your code, but about the 
syntax of the attribute).


Best regards, Julian


Sent from my BlackBerry® smartphone on O2


More information about the whatwg mailing list