Re: Issue in CSS21 grammar?

On Tue, 10 Feb 2009, Yves Lafon wrote:

>>> Shouldn't selector use a production capturing those requirements, 
>>> (something along the line of HASHIDENT = '#' IDENT) instead of HASH?
>> 
>> The grammar in general is a lot more lax than what CSS2.1 requires.
>> Bert will have to give you the long explanation, syntax isn't my
>> specialty. :)

Another thing, in the grammar, CLASS is defined as "." IDENT, so 
constructs like ".55ft" are not recognized as a class, and the last bullet
in [1] can never occur. So should CLASS be "." NAME ? 
Cheers,

[1] <http://www.w3.org/TR/CSS21/grammar.html#tokenizer-diffs>

-- 
Baroula que barouleras, au tiéu toujou t'entourneras.

         ~~Yves

Received on Tuesday, 10 February 2009 10:49:06 UTC