W3C home > Mailing lists > Public > www-style@w3.org > November 2008

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

From: L. David Baron <dbaron@dbaron.org>
Date: Tue, 25 Nov 2008 07:40:53 -0800
To: W3C style mailing list <www-style@w3.org>
Message-ID: <20081125154053.GA14512@pickering.dbaron.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:17 GMT