Closed Bug 126414 Opened 23 years ago Closed 23 years ago

Class names starting with digits not parsed correctly

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: caillon, Assigned: dbaron)

References

()

Details

Attachments

(1 file)

* In CSS1, a class name could start with a digit (".55ft"), unless it was a dimension (".55in"). In CSS2, such classes are parsed as unknown dimensions (to allow for future additions of new units). To make ".55ft" a valid class, CSS2 requires the first digit to be escaped (".\55ft") We correctly do not parse .1st { } but we incorrectly don't parse .\2nd { } Testcase coming up.
You can't backslash escape digits. Works if you use \32.
bug is invalid, the backslash should be followed by the iso10646 code of "2", not by "2" itself.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
v (this error in the spec is infamous for continously being propagated even after rereleases of the spec...)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: