Closed
Bug 58734
Opened 24 years ago
Closed 24 years ago
browser does not aply style sheets correctly
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: humpback, Assigned: pierre)
References
()
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
BuildID: 2000101014
In the page http://www.d-attitude.com/~humpback/bug/ the text should be red
because it is a class defined in an external style shhet
Reproducible: Always
Steps to Reproduce:
1.Creat a class with _ in the names like text_red
2.Aply the style to some text <p class="text_red"> djskhfs </p>
3.Text dos not get the style
Actual Results: Normal unformated text
Expected Results: In my text it should be Arial, 9pt red.
Comment 1•24 years ago
|
||
Marking INVALID. The CSS specification says
(http://www.w3.org/TR/REC-CSS2/syndata.html):
"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."
So, a class selector cannot contain an underscore, which has code position 95.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•