W3C home > Mailing lists > Public > www-style@w3.org > July 2008

Re: Clarify length units in CSS

From: Robert O'Callahan <robert@ocallahan.org>
Date: Fri, 25 Jul 2008 15:23:59 +1200
Message-ID: <11e306600807242023i5e13a6bcqbb295d1242e4cdb2@mail.gmail.com>
To: "David Hyatt" <hyatt@apple.com>
Cc: "Tomas Carnecky" <tom@dbservice.com>, "Grant, Melinda" <melinda.grant@hp.com>, "www-style@w3.org" <www-style@w3.org>
On Fri, Jul 25, 2008 at 8:17 AM, David Hyatt <hyatt@apple.com> wrote:

> The part that is fixed in WebKit is that we will continue to pretend that 1
> CSS px = 1/96th of an inch even when the CSS pixel is scaled.

I think you could get away with using proper physical units. Gecko's
px-to-inch ratio has always varied with the DPI (although the ratio is more
accurate in Firefox 3 than it used to be). Even dbaron's example site
doesn't misrender badly.

If you tried and it didn't work, it'd be interesting if you could point out
the sites that broke.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah
Received on Friday, 25 July 2008 03:24:36 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:38 UTC