W3C home > Mailing lists > Public > www-style@w3.org > May 1998

Digits, re-visited

From: Sue Jordan <sjacct@worldnet.att.net>
Date: Thu, 14 May 1998 08:33:47 -0400
Message-ID: <355AE4AB.7388216E@worldnet.att.net>
To: "'W3C Style List'" <www-style@w3.org>
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 GMT

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