Closed
Bug 212413
Opened 22 years ago
Closed 22 years ago
css invalid style name
Categories
(Core :: DOM: CSS Object Model, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: sitx, Unassigned)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.4) Gecko/20030624
If a custom class' name begins with a number, Mozilla (1.4) doesn't display the
style.
Reproducible: Always
Steps to Reproduce:
1. Create a custom style who's name begin with a number, ie. ".3de6";
2. Assign the style to an element of the HTML document;
3. Display the page.
Actual Results:
Nothing =)
Expected Results:
Display the element with the proper CSS style applied.
Comment 1•22 years ago
|
||
"In CSS2, identifiers (including element names, classes, and IDs in selectors)
can contain only the characters [A-Za-z0-9] and ISO 10646 characters 161 and
higher, plus the hyphen (-); they cannot start with a hyphen or a digit."
INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•