mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00: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
18f4e801e6
commit
54b88f7449
@ -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