Issue #1593 - Part 1: Import William Chen's patches w/o selector implementation, fixed up.

This commit is contained in:
Jeremy Andrews 2021-11-04 03:47:57 -05:00 • committed by roytam1
commit 7472bc02be
10 changed files with 273 additions and 32 deletions

View file

@ -128,7 +128,11 @@ public:
bool* aCutOffInheritance);
void WalkAllRules(nsIStyleRuleProcessor::EnumFunc aFunc,
ElementDependentRuleProcessorData* aData);
ElementDependentRuleProcessorData* aData,
bool aOnlyWalkShadowRootRules = false);
void WalkAllShadowRootHostRules(nsIStyleRuleProcessor::EnumFunc aFunc,
ElementDependentRuleProcessorData* aData);
/**
* Do any processing that needs to happen as a result of a change in
* the characteristics of the medium, and return whether this rule