Issue #3024 - First pass support for :host and :host-context

This commit is contained in:
Matt A. Tobin 2021-12-05 20:16:02 -05:00 committed by roytam1
commit 4cc56c2cb6
12 changed files with 358 additions and 34 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