The default bug view has changed. See this FAQ.

CSS Parser ignoring first declaration in STYLE element surrounded by comments

VERIFIED FIXED

Status

()

Core
HTML: Parser
P2
normal
VERIFIED FIXED
19 years ago
14 years ago

People

(Reporter: dbaron, Assigned: Peter Linss)

Tracking

Trunk
x86
Windows 95
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

19 years ago
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.)‰

Updated

19 years ago
Assignee: rickg → peterl
(Assignee)

Updated

19 years ago
Status: NEW → RESOLVED
Last Resolved: 19 years ago
Resolution: --- → FIXED

Updated

18 years ago
QA Contact: 4082

Comment 1

18 years ago
Links below are too old/not working, can you please provide a test case or just
verify this please?  Thanks
(Reporter)

Updated

18 years ago
(Reporter)

Comment 2

18 years ago
Verified fixed (and URL updated).
(Reporter)

Updated

14 years ago
You need to log in before you can comment on or make changes to this bug.