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

Re: [whatwg] Media queries, viewport dimensions, srcset and picture

From: Markus Ernst <derernst@gmx.ch>
Date: Wed, 06 Jun 2012 14:53:37 +0200
Message-ID: <4FCF52D1.7030509@gmx.ch>
To: Henri Sivonen <hsivonen@iki.fi>
Cc: whatwg <whatwg@lists.whatwg.org>
Am 06.06.2012 14:36 schrieb Henri Sivonen:
> On Wed, May 23, 2012 at 6:21 PM, Florian Rivoal<florianr@opera.com>  wrote:
>> 1) simplyfy srcset to only accept the *x qualifier
> Is there a good reason to believe that * will be something other than
> a power of two?
> That is, could we just optimize the *x syntax away and specify that
> the first option is 1x, the second is 2x, the third is 4x, etc.?

Explicitly specifying the * in *x allows more flexibility in the future 
for cases such as:
- If sometime most displays will have 2x or higher resolutions, authors 
might want to set 1x versions aside.
- If 3x or whatever displays should occur, the spec should be suitable 
for them, too.
- Some UAs might decide to progressively load sources in order to 
emulate what we know from interlaced GIFs. Authors could for this 
purpose add 0.5x and even 0.25x versions.
Received on Wednesday, 6 June 2012 12:54:15 UTC

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