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

Re: Making pt a non-physical unit

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Sat, 16 Jan 2010 16:10:35 -0800
Message-ID: <4B52557B.1030602@terrainformatica.com>
To: www-style Group <www-style@w3.org>
Ideally pixel unit in CSS should match common definition of the pixel, 
e.g. here http://en.wikipedia.org/wiki/Pixel to do not create any 
confusion. But as soon as that train is left the station then should
postulate that 1px is a logical length unit in CSS that equals to 1/96 
of the inch. And so 1px = 3/4pt.

I think it makes sense to introduce "dp" or "dpx" units - "device 
pixels" for cases like hairline borders and other UI related tasks.

-- 
Andrew Fedoniouk.

http://terrainformatica.com
Received on Sunday, 17 January 2010 00:10:52 GMT

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