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

On 06/30/2010 07:35 AM, Sylvain Galineau wrote:
>> From: www-style-request@w3.org [mailto:www-style-request@w3.org] On
>> Behalf Of fantasai
>> Sent: Tuesday, June 29, 2010 11:23 PM
>> To: robert@ocallahan.org
>> Cc: www-style@w3.org
>> Subject: Re: [CSS21] Issue 149 - px vs. pt
>
>
>> I imagine querying the physical viewport size of a handheld would
>> be useful. Given the wide variation in screen resolutions on handhelds,
>> knowing its pixel grid size is somewhat less useful.
>
> This assumes the user agent on that handheld honors the author's expectation
> and returns that physical viewport size instead of returning whatever is
> necessary to get a 'real' desktop-like full size web page for the user to
> zoom/pan.

Right. If I'm designing a touch UI, which is one of the use cases
that Mozilla is concerned with, I'd want real dimensions, not the
size of some imaginary canvas. Not being able to get those
dimensions even through media queries, which were specifically
designed to do this, would be a very frustrating problem.

~fantasai

Received on Wednesday, 30 June 2010 18:04:52 UTC