mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-07 16:28:38 +09:00
Issue #2828 - Part 3: Refactor selector matching and rule cascade data into separate files/classes
This commit is contained in:
parent
7b51aa7ca1
commit
03f29e75ec
20 changed files with 4432 additions and 4171 deletions
|
|
@ -47,7 +47,7 @@
|
|||
#include "nsDisplayList.h"
|
||||
#include "RestyleTrackerInlines.h"
|
||||
#include "nsSMILAnimationController.h"
|
||||
#include "nsCSSRuleProcessor.h"
|
||||
#include "nsCSSRuleUtils.h"
|
||||
#include "ChildIterator.h"
|
||||
#include "Layers.h"
|
||||
|
||||
|
|
@ -2550,8 +2550,8 @@ ElementRestyler::SelectorMatchesForRestyle(Element* aElement)
|
|||
return false;
|
||||
}
|
||||
for (nsCSSSelector* selector : mSelectorsForDescendants) {
|
||||
if (nsCSSRuleProcessor::RestrictedSelectorMatches(aElement, selector,
|
||||
mTreeMatchContext)) {
|
||||
if (nsCSSRuleUtils::RestrictedSelectorMatches(aElement, selector,
|
||||
mTreeMatchContext)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue