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

Re: [css3-values] angle unit and 0

From: Yves Lafon <ylafon@w3.org>
Date: Wed, 14 Sep 2011 05:00:56 -0400 (EDT)
To: "Tab Atkins Jr." <jackalmage@gmail.com>
cc: www-style@w3.org
Message-ID: <alpine.DEB.1.10.1109140450380.28841@wnl.j3.bet>
On Tue, 13 Sep 2011, Tab Atkins Jr. wrote:

> On Tue, Sep 13, 2011 at 1:19 AM, Yves Lafon <ylafon@w3.org> wrote:
>> 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
>
> Like Boris said, that's an error in 2.1.  (The same error is repeated
> in the definitions for <frequency> and <time>.)

Well, it was introduced in 2002 (see [3] for the first occurence, for the 
first CSS21 draft)

What are implementations doing with the following:
foo { propertyusingangle: 90deg;
       propertyusingangle: 0; }
(same with frequency and time...)

Thanks,

[3] http://www.w3.org/TR/2002/WD-CSS21-20020802/aural.html#q2

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

         ~~Yves
Received on Wednesday, 14 September 2011 09:01:02 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:44 GMT