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

Re: [CSS21] Issue 149 - px vs. pt

From: Robert O'Callahan <robert@ocallahan.org>
Date: Wed, 30 Jun 2010 16:18:03 +1200
Message-ID: <AANLkTilm3flgLr8um8gCg1WGs5MSk_muEK5_PbRG55rY@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Wed, Jun 30, 2010 at 10:12 AM, fantasai <fantasai.lists@inkedblade.net>wrote:

> - Defining mm, cm, and in relative to px has rather unexpected
>    effects on Media Queries: I can no longer query the physical
>    dimensions of my screen or viewport, only its pixel grid size.
>

What are the use cases for querying the physical dimensions of the screen or
viewport?

I suspect those use cases are very limited, just like the use cases for true
physical units are very limited.

This addresses the use cases for real physical units, addresses the
> web-compat problem with authors mixing points and pixels, and avoids
> redefining the millimetre. Given that roc suspects it won't break
> the Web, I'd rather go this route.
>

Actually, I'm not sure. We do have a number of tests that break if you make
1pt != 1in/72. Tests that you wrote, in fact :-). But I'm not sure that
you're a representative Web developer :-).

Rob
-- 
"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
53:5-6]
Received on Wednesday, 30 June 2010 04:18:31 GMT

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