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

Unified Diff: Source/core/css/SelectorFilter.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/SelectorFilter.cpp
diff --git a/Source/core/css/SelectorFilter.cpp b/Source/core/css/SelectorFilter.cpp
index 6573fff70a71c687383022cf5c553bdc64c272c3..8b04ade35fc026f4869119b0ca4f896336e05f1b 100644
--- a/Source/core/css/SelectorFilter.cpp
+++ b/Source/core/css/SelectorFilter.cpp
@@ -146,7 +146,6 @@ void SelectorFilter::collectIdentifierHashes(const CSSSelector& selector, unsign
break;
case CSSSelector::DirectAdjacent:
case CSSSelector::IndirectAdjacent:
- case CSSSelector::ShadowPseudo:
skipOverSubselectors = true;
break;
case CSSSelector::Descendant:
@@ -157,7 +156,7 @@ void SelectorFilter::collectIdentifierHashes(const CSSSelector& selector, unsign
return;
}
// Fall through.
- case CSSSelector::Shadow:
+ case CSSSelector::ShadowPseudo:
case CSSSelector::ShadowDeep:
skipOverSubselectors = false;
collectDescendantSelectorIdentifierHashes(*current, hash);
« no previous file with comments | « Source/core/css/SelectorChecker.cpp ('k') | Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698