Index: Source/core/css/RuleFeature.cpp |
diff --git a/Source/core/css/RuleFeature.cpp b/Source/core/css/RuleFeature.cpp |
index 2051884773cd63df1827145f1842218a626c530d..941507506a1aaf9c406b9aa7b43b3a242330b2a9 100644 |
--- a/Source/core/css/RuleFeature.cpp |
+++ b/Source/core/css/RuleFeature.cpp |
@@ -51,6 +51,7 @@ static bool isSkippableComponentForInvalidation(const CSSSelector& selector) |
case CSSSelector::PseudoBefore: |
case CSSSelector::PseudoAfter: |
case CSSSelector::PseudoBackdrop: |
+ case CSSSelector::PseudoShadow: |
return true; |
default: |
return false; |
@@ -128,7 +129,7 @@ RuleFeatureSet::InvalidationSetMode RuleFeatureSet::supportsClassDescendantInval |
switch (component->relation()) { |
case CSSSelector::Descendant: |
case CSSSelector::Child: |
- case CSSSelector::Shadow: |
+ case CSSSelector::ShadowPseudo: |
case CSSSelector::ShadowDeep: |
foundDescendantRelation = true; |
// Fall through! |