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

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

From: Brian Blakely <anewpage.media@gmail.com>
Date: Wed, 5 Oct 2011 10:17:21 -0400
Message-ID: <CAJGQg4F7Oa0Se6TyD-xyueg9-wN1eoi80KZOOy7Xd+BgvZwwSQ@mail.gmail.com>
To: www-style@w3.org
See spec for a refresh: http://www.w3.org/TR/css3-values/#absolute-lengths

As far as I know, UAs have never actually implemented this, but always
pretended to anyway.  If you size something as "1in", you're more than
likely going to get 90px, regardless of the accuracy of this output.

This is important because physical screen dimensions are going to become
very crucial in the near-term for content and layout delivery, especially in
regards to Media Queries.

The problem which was years away is now an impending reality: the day
when 720p+
mobile devices<http://www.engadget.com/2011/09/26/samsung-announces-galaxy-s-ii-lte-and-galaxy-s-ii-hd-lte-handset/>become
the norm.  Unless these devices are all pixel-doubling and
-quadrupling without exception, using Media Queries for the most common
responsive design practice — horizontal resolution detection in pixels —
won't work anymore.  They will simply cease to be a solution, leaving no
replacement.

We need a new way to do generic device detection, or we need absolute length
units to work.

Anyone from representative groups (Mozilla, Chrome Team, Apple) want to
comment?  Does the spec need to be changed?

Best,
-Brian
Received on Wednesday, 5 October 2011 14:30:05 GMT

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