Re: [CSS21] why keep S in the core syntax grammar rather than treat it like COMMENT?

Dan Connolly <connolly@w3.org> wrote:

> In 4.1.1 Tokenization
>   http://www.w3.org/TR/CSS2/syndata.html
> 
> I see:
> 
>   COMMENT tokens do not occur in the grammar (to keep it readable),
>   but any number of these tokens may appear anywhere outside
>   other tokens.
> 
> Why not do likewise for S? I'm pretty sure it doesn't change
> the sequences of characters matched by the grammar.

You may be right, but check the selector rules super carefully. There's
a semantic difference between "a:hover" and "a :hover"...

zw

Received on Wednesday, 21 October 2009 17:37:29 UTC