W3C home > Mailing lists > Public > www-style@w3.org > October 2011

Re: User Agents Do Not Implement Absolute Length Units, Places Responsive Design in Jeopardy

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 05 Oct 2011 13:28:46 -0400
Message-ID: <4E8C93CE.4020708@mit.edu>
To: www-style@w3.org
On 10/5/11 1:21 PM, Brian Blakely wrote:
> The problem isn't resolution detection.  The problem is that we're using
> pixel resolution to do *size *detection.  Adjusting a layout for
> small-size displays is currently achieved by defining max-width MQs at
> about 640 *pixels*, when it really should be 3.5 *inches* (ballpark).

The problem is that to be web-compatible, UAs more or less have to fix 
1in == 96px.

And again, just to be clear, are you trying to detect _linear_ size, or 
_angular_ size of the screen?

-Boris
Received on Wednesday, 5 October 2011 17:29:28 GMT

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