W3C home > Mailing lists > Public > public-respimg@w3.org > September 2014

Re: Order of candidates

From: Miguel Garcia <magarcia2@me.com>
Date: Tue, 23 Sep 2014 07:24:46 -0500
Cc: "public-respimg@w3.org" <public-respimg@w3.org>
Message-id: <7DEDB93B-17D6-4EA6-82AD-EBE3CD5D3607@me.com>
To: Attiks <attiks@gmail.com>
From a readability standpoint it makes sense to order candidates but it is not necessary per spec. 

Sent from my iPhone

> On Sep 23, 2014, at 7:12 AM, Attiks <attiks@gmail.com> wrote:
> 
> All,
> 
> Does it makes sense to order the different candidates inside the srcset tag? Or are the following equal?
> 
> <img src="foo.jpg" srcset="bar.jpg 300w, xyzzy.jpg 600w">
> <img src="foo.jpg" srcset="xyzzy.jpg 600w, bar.jpg 300w">
> 
> <img src="foo.jpg" srcset="bar.jpg 1x, xyzzy.jpg 2x">
> <img src="foo.jpg" srcset="xyzzy.jpg 2x, bar.jpg 1x">
> 
> Cheers,
> Peter
> 

Received on Tuesday, 23 September 2014 12:25:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:06:12 UTC