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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 1 Jul 2010 17:17:13 +1200
Message-ID: <AANLkTiklm_3Qlt8-_47nNCsDayWrufakH5KsBe_BX8yL@mail.gmail.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Thu, Jul 1, 2010 at 5:03 PM, Sylvain Galineau <sylvaing@microsoft.com>wrote:

>  There effectively are different viewports today. On an iPhone, a web page
> is told it renders on a viewport much larger than it physically is. That 1”
>
> may turn into 1/10 of an inch until I zoom it up.
>

Zooming is an orthogonal issue. Assertions about the meaning of units are
only true when the UA is not applying zooming. The ratio of two lengths
should be independent of the zoom factor, but I'm not sure what else we can
say.

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 ?
>

You could get any combination of results, depending on the device.

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 Thursday, 1 July 2010 05:17:47 GMT

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