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

RE: [css3-values] Physical length units

From: Sylvain Galineau <sylvaing@microsoft.com>
Date: Tue, 21 Feb 2012 20:38:19 +0000
To: Florian Rivoal <florianr@opera.com>
CC: "www-style@w3.org" <www-style@w3.org>
Message-ID: <3C4041FF83E1E04A986B6DC50F0178290342D1AA@TK5EX14MBXC295.redmond.corp.microsoft.com>

[Florian Rivoal:]
> On Tue, 21 Feb 2012 15:18:21 +0100, Christoph Päper
> <christoph.paeper@crissov.de> wrote:
> > The preferred unit of this camp is not ‘pt’ and ‘px’ neither. People
> > use ‘mm’ and ‘cm’ or, in the US, ‘in’. Perhaps they would like a new
> > unit ‘tip’ which is a physical centimeter or something close to it.
> > Most of them would be fine with 2) or 2*), too.
> >> And they've been taught for literally decades that fonts are sized in
> >> pt. And they want to size their boxes in px.  And they _know_, again
> >> due to decades of experience, that 12pt == 16px.
> >
> > Yeah, those are the morons we fixed the point-pixel relation for. Now
> > we have to care about the demands of touchscreen people.
> I am thinking that introducing such a 'tip' unit might be the way to go,
> without defining it as a hard ratio of any existing unit, nor as a hard
> coded physical distance, but something left up to the UA / user
> configuration.

While I understand the concept, having a unit that's UA-defined to size
things does make me wonder how that'll work in a page made of things defined
using units that have hard ratios. Variations across UAs would imply layout
issues. Unless the idea is that you have to use it everywhere?

Received on Tuesday, 21 February 2012 20:38:57 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:11 UTC