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

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 UTC