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

Re: [cssom] absolute lengths serialize to mm?

From: Alan Stearns <stearns@adobe.com>
Date: Thu, 6 Feb 2014 00:43:14 +0000
To: Tab Atkins Jr. <jackalmage@gmail.com>
CC: "<www-style@w3.org>" <www-style@w3.org>
Message-ID: <CF181A2A.3B311%stearns@adobe.com>
On 2/5/14, 4:38 PM, "Tab Atkins Jr." <jackalmage@gmail.com> wrote:

>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.

My guess is that it was about using ‘real’ inches and millimeters instead
of CSS inches, etc.

Thanks,

Alan

Received on Thursday, 6 February 2014 00:43:55 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:18 UTC