mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1087536 patch 2 - Assert when nsStyleSet::RuleNodeWithReplacement finds the rules in an incorrect order. r=birtles
I confirmed that this assertion fires (along with the other failures) when running layout/style/test/test_transitions_events.html with patch 3 but not patch 1.
This commit is contained in:
parent
79ff09761b
commit
45e5ce14aa
@ -1524,6 +1524,10 @@ nsStyleSet::RuleNodeWithReplacement(Element* aElement,
|
||||
}
|
||||
}
|
||||
|
||||
NS_ASSERTION(rulesIndex == 0,
|
||||
"rules are in incorrect cascading order, "
|
||||
"which means we replaced them incorrectly");
|
||||
|
||||
return ruleWalker.CurrentNode();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user