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

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 UTC