- From: Manlio Perillo <manlio.perillo@gmail.com>
- Date: Sat, 04 Oct 2008 00:23:52 +0200
- To: www-style@w3.org
Hi. I'm implementing a CSS parser in Haskell. I have completed a draft of the lexer and I have found a bug in the grammar definition from: http://www.w3.org/TR/CSS21/grammar.html The problem is with this rule: num [0-9]+|[0-9]*"."[0-9]+ This does not allow negative numbers: margin-left: -20px; I'm not sure if it should allow: margin-left: +20px; I have checked the errata: http://www.w3.org/Style/css2-updates/CR-CSS21-20070719-errata.html but this problem is not reported. Thanks Manlio Perillo
Received on Saturday, 4 October 2008 05:11:33 UTC