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

Re: [CSS21] 4.3.2 Lengths (reference pixel?)

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 15 Dec 2010 08:24:14 -0800
Message-ID: <4D08EBAE.8070403@mit.edu>
To: Ambrose LI <ambrose.li@gmail.com>
CC: www-style@w3.org
On 12/14/10 11:48 PM, Ambrose LI wrote:
> If we cannot rely on 1 image pixel = 1px

You can rely on "pixels" in bitmap images being treated as CSS pixels by 
a CSS renderer.  For example, if you take a 100px by 100px JPEG image 
and print it on a 600dpi printer, it's not going to end up 1/6 inch wide 
and tall!  Nothing is changing there.  Bitmap image pixels continue to 
be divorced from device pixels, in general.

-Boris
Received on Wednesday, 15 December 2010 16:24:49 GMT

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