[whatwg] Features for responsive Web design

Nils Dagsson Moskopp nils at dieweltistgarnichtso.net
Thu Aug 9 03:06:11 PDT 2012

Kornel Lesi__ski <kornel at geekhood.net> schrieb am Thu, 9 Aug 2012
10:29:17 +0100:

> On 8 sie 2012, at 12:57, "Florian Rivoal" <florianr at opera.com> wrote:
> > […]
> >
> > If you look at mobile phones, there are a bunch of existing devices
> > with 1.5 device pixel per css pixel, and also some with 2.25, so I
> > don't think we can assume only powers of 2 will be used.
> […]
> I don't think anybody will take advantage of that. IMHO non-integer
> ratios are a mistake that can/will be corrected. 

Limiting to powers of two because it can/will be “simpler” in this case
not only makes the attribute harder to read – it also locks vendors in.
Apart from it possibly being a self-fulfilling prophecy – isn't this
too much premature “optimization” ?

Btw, I am not aware of any other attribute that has a logarithmic scale
baked in – are you?

Nils Dagsson Moskopp // erlehmann

More information about the whatwg mailing list