Closed Bug 845 Opened 26 years ago Closed 26 years ago

CSS Parser ignoring first declaration in STYLE element surrounded by comments

Categories

(Core :: DOM: HTML Parser, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: peterl-retired)

References

()

Details

When CSS in a STYLE element is enclosed in SGML comments (as described at the
end of section 1.1 in http://www.w3.org/TR/REC-CSS1#containment-in-html ), the
first declaration is ignored.  See http://www.w3.org/TR/REC-CSS1#containment-in-
html , where the P elements (about half of the page) should be red.

(I didn't test other pages to see if this happens all the time.)

(I also didn't know whether to file this under Parser or Style System.)‰
Assignee: rickg → peterl
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
QA Contact: 4082
Links below are too old/not working, can you please provide a test case or just
verify this please?  Thanks
Verified fixed (and URL updated).
You need to log in before you can comment on or make changes to this bug.