- From: Simon Pieters <simonp@opera.com>
- Date: Tue, 23 Sep 2014 14:42:02 +0200
- To: "public-respimg@w3.org" <public-respimg@w3.org>, Attiks <attiks@gmail.com>
On Tue, 23 Sep 2014 14:12:55 +0200, 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"> They are equal when the descriptors used are supported. However, if srcset is supported but the descriptor is not, the first candidate in srcset will be selected. -- Simon Pieters Opera Software
Received on Tuesday, 23 September 2014 12:42:39 UTC