W3C home > Mailing lists > Public > www-style@w3.org > February 2003

Re: Length unit relative to media width

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 20 Feb 2003 11:14:46 -0600
Message-ID: <3E550D06.6030803@mit.edu>
To: Christian Roth <roth@visualclick.de>
CC: www-style Mailing List <www-style@w3.org>

Christian Roth wrote:
 > It seems also to me that it's the UA's
 > responsibility to scale values given in px unit according to the
 > assumed absolute size of 1px.
 >
 > This means that if you have designed your document with the assumption
 > of 1px=1/96in, it will look exactly the same in absolute size on every
 > monitor.

Not quite, since scaling a CSS "px" to 1.5 device pixels, eg, would lead 
to many rounding issues.  So I doubt UAs will ever scale a CSS "px" to 
non-integer numbers of device pixels.
Received on Thursday, 20 February 2003 12:14:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:19 GMT