W3C home > Mailing lists > Public > www-style@w3.org > September 2011

[css3-values] angle unit and 0

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 13 Sep 2011 04:19:54 -0400 (EDT)
To: www-style@w3.org
Message-ID: <alpine.DEB.1.10.1109130413540.7290@wnl.j3.bet>
Hi,
In css3-values [1], the text implies that "azimuth: 0" is invalid as units 
are mandatory (unlike length units (section 5)).
However, in CSS21 [2], it says
<<
Like for <length>, the unit may be omitted, if the value is zero: '0deg' 
may be written as '0'.
>>
Should css3-value say something there, either the same thing, or that it 
is deprecated.
Thanks,

[1] http://www.w3.org/TR/2011/WD-css3-values-20110906/#angles
[2] http://www.w3.org/TR/2011/REC-CSS2-20110607/aural.html#value-def-angle

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves
Received on Tuesday, 13 September 2011 08:19:59 UTC

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