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

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

From: Stephen Hay <haymail@gmail.com>
Date: Thu, 1 Jul 2010 22:18:58 +0200
Message-ID: <AANLkTikEweKeJdqHrR0xuH9P2PaXsbaXDVUREIOe3UuQ@mail.gmail.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: "robert@ocallahan.org" <robert@ocallahan.org>, fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Thu, Jul 1, 2010 at 7:03 AM, Sylvain Galineau <sylvaing@microsoft.com> wrote:
> Given this, if my home page has a stylesheet with a media query for
> (min-width: 254truemm) and another for (min-width:19), what happens ?
> Should
> they both match ?

I think they should. Physical dimensions are just that-- physical
dimensions. They *should* be absolute. There should be *absolutely* no
need for anything like truemm to map to inches (or pt or cm for that
matter), as 1 inch should be 1 inch, period. The fact that the browser
"lies" about the viewport dimensions, most likely because this
information is not correctly available, is not a CSS problem.

Stephen Hay
Received on Thursday, 1 July 2010 20:19:34 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:48 UTC