Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: Source/core/css/RuleFeature.cpp

Issue 210713002: Implement ::shadow pseudo element and replace /shadow/ with ::shadow. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed patch conflict Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/css/RuleFeature.cpp
diff --git a/Source/core/css/RuleFeature.cpp b/Source/core/css/RuleFeature.cpp
index a30022f1d0006737cbe311a7432ad9c3eba843c3..109f9723cfedf94b13d3ba0c7284866dc28a59e2 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;
@@ -118,7 +119,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!

Powered by Google App Engine
This is Rietveld 408576698