W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: CSS Viewport proposal

From: Kenneth Christiansen <kenneth.christiansen@openbossa.org>
Date: Mon, 9 Aug 2010 14:08:36 -0300
Message-ID: <AANLkTik0h=iir+kOKwbBwtBR5B0mWWQrgUxbw0KKeaz9@mail.gmail.com>
To: Rune Lillesveen <rune@opera.com>
Cc: www-style list <www-style@w3.org>
>> Will people complain about breaking with the specification of a CSS pixel?

Basically this will mean that the device-width will be in pixels and
not in CSS pixels, but the width that the algorithm sees is in CSS
pixels as the DPI will be considered.

Like on N900, you will get 320 as device-width, due to 480 / 320 = 1.5
and thus 480 / 1.5 = 320. If I set device-densitydpi to device-dpi,
the algorithm will see it as 480

Kenneth


-- 
Kenneth Rohde Christiansen
Technical Lead / Senior Software Engineer
Qt Labs Americas, Nokia Technology Institute, INdT
Phone  +55 81 8895 6002 / E-mail kenneth.christiansen at openbossa.org
Received on Monday, 9 August 2010 17:09:16 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT