Digits, re-visited

From the normative section on the differences between the CSS1 and
CSS2 tokenizer
<http://www.w3.org/TR/REC-CSS2/grammar.html#tokenizer-diffs>, we have:

In CSS1, a class name could start with a digit (".55ft"), unless it
was a dimension (".55in"). 

But, from CSS1, forward compatibility
<http://www.w3.org/TR/REC-CSS1#forward-compatible-parsing>

we have the unambiguous:

in CSS1, selectors (element names, classes and IDs) can contain only
the characters A-Z, 0-9, and Unicode characters 161-255, plus dash
(-); they cannot start with a dash or a digit; ...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

If the CSS2 statement were in an informative section, rather than a
normative one, I'd call it a lapse, and let it go. I'd thought the
issue settled through previous discussion, but the mis-statement is
still part of a normative reference. Oversight?

Sue Jordan

Received on Thursday, 14 May 1998 08:33:33 UTC