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

Re: [whatwg] Features for responsive Web design

From: Aaron Gustafson <aaron@easy-designs.net>
Date: Wed, 5 Sep 2012 19:05:13 -0400
Message-ID: <CALWPYzFZNLsTEzOD26S7jPKtUwNGzgbBa_tRoxW6EhpMf7NC6Q@mail.gmail.com>
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.



Aaron Gustafson
Easy Designs, LLC
Received on Wednesday, 5 September 2012 23:06:01 UTC

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