W3C home > Mailing lists > Public > www-style@w3.org > December 2009

[css3-values] calc()'s <number-multiplicative-expression> incorrect

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 16 Dec 2009 16:06:07 -0500
To: www-style@w3.org
Message-ID: <20091216210607.GA4842@pickering.dbaron.org>
In http://dev.w3.org/csswg/css3-values/#the-calc-function , there is
currently text:

#  <number-multiplicative-expression> :=
#     <number-term> |
#     <length-multiplicative-expression> S* '/' S* <length-term> |
#     <length-multiplicative-expression> S+ 'mod' S+ <length-term>

This text appears to suffer from a copy-paste error (i.e., it should
have been modified a little more after copying), and it should
instead read:

#  <number-multiplicative-expression> :=
#     <number-term> |
#     <number-multiplicative-expression> S* '/' S* <number-term> |
#     <number-multiplicative-expression> S+ 'mod' S+ <number-term>

As written, it is wrong, since the number productions should not
allow lengths within them.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 17 December 2009 01:39:31 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:47:12 GMT