- From: Aaron Gustafson <aaron@easy-designs.net>
- Date: Wed, 5 Sep 2012 19:05:13 -0400
- To: Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net>
- Cc: Mathew Marquis <mat@matmarquis.com>, Ian Hickson <ian@hixie.ch>, public-respimg@w3.org, WHATWG List <whatwg@whatwg.org>
On Wed, Sep 5, 2012 at 7:01 PM, Nils Dagsson Moskopp <nils@dieweltistgarnichtso.net> wrote: > Aaron Gustafson <aaron@easy-designs.net> schrieb am Wed, 5 Sep 2012 > 18:42:37 -0400: > >> […] >> >> Might I propose an option 3 (which is in no way a vote of support for >> Hixies suggested srcset, I like the proposed video-like syntax far >> more): >> >> [{ image: 'img2.jpg', density: '2x', query: '300w' }, { image: >> 'img3.jpg', density: '2x', query: '600w' }] >> >> If the values are actually keyed to something predictable, we might >> stand some chance of actually reading/manipulating them without having >> to determine which value is which if they are out of order (it stand >> to reason the browser would have done this already, so…) > > Still, this would mean that existing DOM-like node-based data > structures could not be used easily – even if filled through HTML5lib – > because there would be no obvious mapping for such fractal complexity. Agreed. It’s not ideal by any means, but it would be a teensy bit better than the options mentioned IMHO. Cheers, Aaron ---- Aaron Gustafson Principal Easy Designs, LLC @aarongustafson
Received on Wednesday, 5 September 2012 23:06:01 UTC