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

Re: [CSS 2.1] Scope of identifier definition in Section 4.1.3

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 03 Jul 2008 09:25:24 -0700
Message-ID: <486CFD74.7080306@inkedblade.net>
To: Benjamin Hawkes-Lewis <bhawkeslewis@googlemail.com>
CC: W3C Emailing list for WWW Style <www-style@w3.org>

Benjamin Hawkes-Lewis wrote:
> 
> The prose description of identifiers in the CSS 2.1 specification says:
> 
>> In CSS, identifiers (including element names, classes, and IDs in 
>> selectors) can contain only the characters [a-z0-9] and ISO 10646 
>> characters U+00A1 and higher, plus the hyphen (-) and the underscore 
>> (_); they cannot start with a digit, or a hyphen followed by a digit. 
>> Identifiers can also contain escaped characters and any ISO 10646 
>> character as a numeric code (see next item). For instance, the 
>> identifier "B&W?" may be written as "B\&W\?" or "B\26 W\3F".
> 
> http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier
> 
> The next definition begins:
> 
>> In CSS 2.1, a backslash (\) character indicates three types of 
>> character escapes.
> 
> It would have been helpful to this reader, at least, if it were equally 
> clear that the prose was talking only about identifiers in CSS 2.1 not 
> "CSS" generally, where according to the tokenization rules identifiers 
> may contain characters of octal 200 (U+0080) and higher (i.e. a 
> substantially wider set):
> 
> http://www.w3.org/TR/CSS21/syndata.html#tokenization

Added as CSS2.1 Issue 57:
   http://csswg.inkedblade.net/spec/css2.1#issue-57

Thanks!

~fantasai
Received on Thursday, 3 July 2008 16:26:06 GMT

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