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

I'm not yet concerned about there being a 'CSS problem'; I'm first concerned about the author and
when/how they'd use this e.g. say I make a photo app that has one settings page that uses a 1:1 display 
ratio but the image thumbnail page is meant  to be much larger than the device so the user can pan around 
in their collection. In which case it may not be helpful for the styles I intended for my settings page to also 
match a photo panning page which implies I'd need to split my stylesheet. 

Overall, I'm after a) how do authors do this today b) how they'd it using this solution so that we can compare.

 
-----Original Message-----
From: Stephen Hay [mailto:haymail@gmail.com] 
Sent: Thursday, July 01, 2010 1:19 PM
To: Sylvain Galineau
Cc: robert@ocallahan.org; fantasai; www-style@w3.org
Subject: Re: [CSS21] Issue 149 - px vs. pt

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:28:23 UTC