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

Re: FW: [css2.1] identifier definition incorrect

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 1 Nov 2007 08:52:53 -0700
To: www-style@w3.org
Message-ID: <20071101155253.GE4630@ridley.dbaron.org>

On Tuesday 2007-10-23 21:54 -0400, fantasai wrote:
> Grant, Melinda wrote:
> >In http://www.w3.org/TR/CSS21/syndata.html#value-def-identifier, we find 
> >the following:
> >"
> >In CSS, identifiers (including element names, classes, and IDs in 
> >selectors <http://www.w3.org/TR/CSS21/selector.html>) 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".
> >"
> > 
> >The characters A-Z should also be allowed, as the example indicates, and 
> >as the preceding bullet item states.
> Recorded as Issue 15:
>   http://csswg.inkedblade.net/spec/css2.1#issue-15

The entire grammar is written case-insensitively.  If we fix this,
we'd need to fix a whole bunch of other places as well.  It seems
better to just say that the grammar is case-insensitive (or
case-insensitive for case transformations within ASCII; the
difference shouldn't matter).


L. David Baron                                 http://dbaron.org/
Mozilla Corporation                       http://www.mozilla.com/
Received on Thursday, 1 November 2007 22:48:27 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:31 UTC