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

> From: fantasai [mailto:fantasai.lists@inkedblade.net]
> Sent: Wednesday, June 30, 2010 10:09 AM
> To: Sylvain Galineau
> Cc: robert@ocallahan.org; www-style@w3.org
> Subject: Re: [CSS21] Issue 149 - px vs. pt


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

If we're talking about XUL running on a phone, sure. But the web
page rendered by the browser may still not get the physical viewport 
size. In practice context will be provide a switch i.e. if you're writing
a web app that runs offline and launches from its own icon on a device, you 
want and will get a physical viewport size. If it's a web page, you may never 
know because the browser can lie to you.

Received on Wednesday, 30 June 2010 17:18:10 UTC