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

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 UTC