Closed Bug 509155 Opened 16 years ago Closed 16 years ago

"ASSERTION: canStoreInRuleTree must be false for reset structs if any properties were specified as inherit" with <html style="outline-color: inherit;">

Categories

(Core :: CSS Parsing and Computation, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9.2b1

People

(Reporter: jruderman, Assigned: bzbarsky)

References

Details

(Keywords: assertion, testcase)

Attachments

(2 files)

Attached file testcase
###!!! ASSERTION: canStoreInRuleTree must be false for reset structs if any properties were specified as inherit: '!canStoreInRuleTree || aRuleDetail == eRuleNone || aRuleDetail == eRulePartialReset || aRuleDetail == eRuleFullReset', file /Users/jruderman/central/layout/style/nsRuleNode.cpp, line 4722 This assertion was added in bug 508919.
Attached patch FixSplinter Review
Well, that's asserting because of a real bug and all. Tests are just the crashtest from this bug and two correctness tests (for outline-color, which is this bug, and border-color, which was fixed in bug 508919).
Assignee: nobody → bzbarsky
Status: NEW → ASSIGNED
Attachment #393322 - Flags: review?(dbaron)
-moz-column-rule has a similar syntax to border and outline, so maybe it should be tested too.
That one is ok (by code inspection).
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2b1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: