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

Re: [css3-values] angle unit and 0

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 13 Sep 2011 08:45:45 -0700
Message-ID: <CAAWBYDBGmqEdJmoWwA+LJ8grwtPH0O2psQ35GGBU6kPg4cT6bw@mail.gmail.com>
To: Yves Lafon <ylafon@w3.org>
Cc: www-style@w3.org
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>.)

~TJ
Received on Tuesday, 13 September 2011 15:46:41 GMT

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