Closed Bug 342923 Opened 18 years ago Closed 18 years ago

[FIX]"ASSERTION: Unexpected CSS rule" putting certain SVG in HTML (not XHTML) document

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: jruderman, Assigned: bzbarsky)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

The testcase triggers: ###!!! ASSERTION: Unexpected CSS rule: '!cssRule', file nsStyleSet.cpp, line 430 bz thinks we might just end up removing this assertion.
Attached file testcase
Flags: blocking1.9a2?
Should probably assert that it's either: 1. not a CSS rule, or 2. a CSS rule with no selector.
Flags: blocking1.9a2? → blocking1.9-
Whiteboard: [wanted-1.9]
Attached patch FixSplinter Review
Assignee: dbaron → bzbarsky
Status: NEW → ASSIGNED
Attachment #245317 - Flags: superreview?(dbaron)
Attachment #245317 - Flags: review?(dbaron)
OS: Mac OS X 10.4 → All
Priority: -- → P3
Hardware: Macintosh → All
Summary: "ASSERTION: Unexpected CSS rule" putting certain SVG in HTML (not XHTML) document → [FIX]"ASSERTION: Unexpected CSS rule" putting certain SVG in HTML (not XHTML) document
Target Milestone: --- → mozilla1.9alpha
Attachment #245317 - Flags: superreview?(dbaron)
Attachment #245317 - Flags: superreview+
Attachment #245317 - Flags: review?(dbaron)
Attachment #245317 - Flags: review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Crashtest checked in.
Flags: in-testsuite+
Flags: wanted1.9+
Whiteboard: [wanted-1.9]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: