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

[CSS21] minor issue: location of comment tokens

From: Bert Bos <bert@w3.org>
Date: Tue, 25 Nov 2008 14:39:59 +0100
To: W3C style mailing list <www-style@w3.org>
Message-Id: <200811251439.59331.bert@w3.org>

Somebody sent me e-mail asking if it was intentional that there may not 
be a comment at the start of a style sheet, because the text[1] 
says "[COMMENT tokens] may appear anywhere *between* other tokens" (my 

That's certainly not the intention. The "between" is there to remind 
people that comments cannot be *inside* tokens. I.e., "1/*...*/0" gives 
separate tokens "1" and "0" and not a single "10" token. Comments may 
occur before or after other tokens and may even appear in style sheets 
that have no other tokens at all.

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
    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 


  Bert Bos                                ( W 3 C ) http://www.w3.org/
  http://www.w3.org/people/bos                               W3C/ERCIM
  bert@w3.org                             2004 Rt des Lucioles / BP 93
  +33 (0)4 92 38 76 92            06902 Sophia Antipolis Cedex, France
Received on Tuesday, 25 November 2008 13:40:41 UTC

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