Closed Bug 153162 Opened 22 years ago Closed 22 years ago

CSS styles that start with numbers don't work

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: m.conway, Assigned: dbaron)

Details

1.Create a Page with a style sheet.
2.Make a style that starts with a number (eg: .7h_txt)
3.Made a <td class="7h_txt"> and it won't hold the style.
Class names are not permitted to start with a number.  Any browser that allows
it (IE5 does, which is a bug, and IE6 will do it in its Quirks mode) is not
following the spec.

See http://www.w3.org/TR/REC-CSS2/syndata.html#q
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
yeah, you need to escape the number like it shows in the spec
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.