W3C home > Mailing lists > Public > www-style@w3.org > February 2012

Re: [css3-values] Physical length units (was: [css3-mediaqueries] DPI in resolution media queries)

From: Robert O'Callahan <robert@ocallahan.org>
Date: Sun, 19 Feb 2012 22:46:35 +1300
Message-ID: <CAOp6jLa+uhuxoF-fmRYt_fsTAJNB63wdZOnV9_1fcvF7dzpa3w@mail.gmail.com>
To: Lea Verou <leaverou@gmail.com>
Cc: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
On Thu, Feb 16, 2012 at 7:31 AM, Lea Verou <leaverou@gmail.com> wrote:

> Yes! That would totally solve it. Although `truemm` is a but unwieldy.
> Some kind of switch that modifies how `mm`,`cm` and `in` behave would be
> better IMO.
>

That would be super confusing IMHO. A new unit is easier.

Potential issue: non-square pixels (quite common in LCD screens that are
> not at their native resolution).
>

Handling that "properly" would be a real nightmare. Just define it to be
the geometric mean of the two axes, and people who are running LCD screens
in strange resolutions don't get great results.

Rob
-- 
“You have heard that it was said, ‘Love your neighbor and hate your enemy.’
But I tell you, love your enemies and pray for those who persecute you,
that you may be children of your Father in heaven. ... If you love those
who love you, what reward will you get? Are not even the tax collectors
doing that? And if you greet only your own people, what are you doing more
than others?" [Matthew 5:43-47]
Received on Sunday, 19 February 2012 09:47:03 GMT

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