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

Re: [cssom] absolute lengths serialize to mm?

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 5 Feb 2014 16:38:17 -0800
Message-ID: <CAAWBYDAgeganVhUfc0bKuJy_WGXxObHpEx_uDqmzrJtPtsrDsA@mail.gmail.com>
To: Alan Stearns <stearns@adobe.com>
Cc: "<www-style@w3.org>" <www-style@w3.org>
On Wed, Feb 5, 2014 at 3:55 PM, Alan Stearns <stearns@adobe.com> wrote:
> The Serializing CSS Values section [1] seems to imply that all absolute
> lengths should be serialized in millimeter units:
> ----
> Absolute lengths: the number of millimeters serialized as per
>   <number> followed by the literal string "mm”.
> ----
> I’m assuming this is incorrect - that serialization should use whatever
> units are appropriate (possibly the specified units, possibly normalized
> units via computed style, etc.)

I think this might have been written back when "absolute lengths"
didn't refer to px.  You're right that now it should use px as the
serialization unit.

> This is followed by issue 10 that mentions a ‘rumor’ that I believe has
> been squashed.

I don't even understand what it's talking about.  <resolution> isn't a
length at all, relative or absolute.

Received on Thursday, 6 February 2014 00:39:04 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:39 UTC