Re: [CSS21] minor issue: location of comment tokens

On Tuesday 2008-11-25 14:39 +0100, Bert Bos wrote:
> I propose to simply remove the offending phrase. In other words, change 
> in section 4.1.1 (Tokenization) the phrase:
> 
>     may appear anywhere between other tokens
> to
>     may appear anywhere
> 
> I believe this is editorial. (The phrase "between other tokens" was 
> added in 1998, when we weren't as careful with the language as we are 
> now...)

We might still want to make it clear in the prose that a comment
can't appear in the middle of a token without causing it to be two
tokens.  Otherwise people might think you can do:

p { background-/*not foreground*/color: green; }

which doesn't actually work.

-David

-- 
L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/

Received on Tuesday, 25 November 2008 15:41:30 UTC