W3C home > Mailing lists > Public > www-svg@w3.org > September 2010

[CSS21][CSS3] Grammar Error

From: Mark <markjord@gmail.com>
Date: Thu, 2 Sep 2010 08:47:06 +0100
Message-ID: <AANLkTi=9VErkmVV2SvA5jkZ0FfWzCkVSp9PUe0A-Oo8=@mail.gmail.com>
To: www-svg@w3.org
Cc: peter.moulder@monash.edu
If anyone cares, there's another error in the grammar:-

ruleset
  : selector [ ',' S* selector ]*
    '{' S* declaration? [ ';' S* declaration? ]* '}' S*

This rule won't parse 99.9% of existing CSS files. There is a space
missing from the front before '{'. It should be:-

ruleset
  : selector [ ',' S* selector ]*
    S* '{' S* declaration? [ ';' S* declaration? ]* '}' S*

Regards,
Mark.
Received on Thursday, 2 September 2010 07:47:34 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:46 GMT