W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: Issue in CSS21 grammar?

From: Yves Lafon <ylafon@w3.org>
Date: Tue, 10 Feb 2009 05:48:56 -0500 (EST)
To: fantasai <fantasai.lists@inkedblade.net>
cc: www-style@w3.org, Bert Bos <bert@w3.org>
Message-ID: <Pine.LNX.4.64.0902100546490.16126@ubzre.j3.bet>

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 ? 

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

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

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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC