Closed
Bug 861
Opened 26 years ago
Closed 26 years ago
CSS parser eats style rule after malformed rule
Categories
(Core :: CSS Parsing and Computation, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: peterl-retired, Assigned: peterl-retired)
Details
If the parser encounters an illegal selector value, it discards the following
style rule also.
ie:
<style>
H2 { color: red }
<>
H1 { color: blue }
</style>
the H1 rule will get discarded
Assignee | ||
Updated•26 years ago
|
Assignee: kipp → peterl
Assignee | ||
Updated•26 years ago
|
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
I tried the test case and admit I am not a CSS expert yet, and the test resulted
in nothing being displayed. All I did was add HTML and BODY tags and drop in
your example. Can you provide another example or set me straight :-) Thanks GL
QA Contact: 4082
Assignee | ||
Comment 2•26 years ago
|
||
You need to provide some HTML for the style to map against. Try adding:
<body>
<h1>blue</h1>
<h2>red</h2>
</body>
and see what color the h1 is, if the rule gets discarded it'll be black,
otherwise it'll be blue.
As it turns out, this bug is invalid. The second rule SHOULD get discarded.
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•26 years ago
|
||
Using 3/11 build, verifying bug invalid as comments indicate.
You need to log in
before you can comment on or make changes to this bug.
Description
•