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

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

From: Zack Weinberg <zweinberg@mozilla.com>
Date: Wed, 21 Oct 2009 10:36:54 -0700
To: Dan Connolly <connolly@w3.org>
Cc: www-style@w3.org
Message-ID: <20091021103654.25d6afed@mozilla.com>
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

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:40 UTC