W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: bug in the CSS grammar definition

From: Manlio Perillo <manlio.perillo@gmail.com>
Date: Sat, 04 Oct 2008 11:59:51 +0200
Message-ID: <48E73E97.2080801@gmail.com>
To: Brady Duga <duga@ljug.com>
CC: www-style@w3.org

Brady Duga ha scritto:
> On Oct 3, 2008, at 3:23 PM, Manlio Perillo wrote:
>>
>> The problem is with this rule:
>> num        [0-9]+|[0-9]*"."[0-9]+
>>
>>
>> This does not allow negative numbers:
>>    margin-left: -20px;
> 
> Check the grammar for 'term' - I think you will find sign handled there 
> (not in the scanner).
> 

Ah, thanks!
This seems to make the grammar a bit more complex, however.


One other thing.
In G.2 Lexical scanner, there is
     The two occurrences of "\377"

However \377 occurs only one time, as far as I can see.

> --Brady
> 


Manlio Perillo
Received on Saturday, 4 October 2008 10:00:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:13 GMT