W3C home > Mailing lists > Public > www-style@w3.org > July 2005

Re: Dimensions better than unitless numbers for future CSS specs

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 06 Jul 2005 05:56:41 -0400
Message-ID: <42CBAAD9.3020804@inkedblade.net>
To: www-style@w3.org

Etan Wexler wrote:
>> I've also seen discussion of allowing unitless numbers on 
>> 'word-spacing' in CSS3. Currently, 'word-spacing' adds a specific 
>> amount to the normal spacing (for example, 'word-spacing: 0.5em'). 
>> 'Word-spacing: 1.5' could mean that the word spacing is increased to 
>> 1.5 times its normal value.
> We don’t need unitless numbers to effect a multiplication of intrinsic 
> or normal values. A unit, say, 'norm', could give the same results. We 
> can specify that 'norm' dimensions compute to themselves, yielding good 
> results for inheritance in situations like the following example.

I think multipliers are an appropriate use of unitless numbers. IIRC,
all other units compute to an absolute measure and then inherit, so
such multipliers are inherently different from units anyway.

Received on Thursday, 7 July 2005 09:58:00 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:19 UTC