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:38:07 +0200
Message-ID: <AANLkTilLS1qVMmH4rpYNpohr6nUx1sP31uYvru0T5P05@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 10:27 PM, Sylvain Galineau
<sylvaing@microsoft.com> wrote:
> 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.

I think the most interesting use case is mobile, especially platforms
like the iPhone where media queries against pixels are insufficient,
because the developer/designer wants to optimize style for the
physical size of the viewport (in combination with pixels) rather than
relying on zooming. While this arguably may be *more* useful for apps,
there are plenty of websites which could benefit from this amount of
control.

Stephen
Received on Thursday, 1 July 2010 20:38:43 GMT

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