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

Unified Diff: third_party/WebKit/Source/core/css/SelectorFilter.cpp

Issue 2500813003: Parser support for >>> (shadow-piercing descendant) combinator. (Closed)
Patch Set: Address timloh's comments. Created 4 years, 1 month 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: third_party/WebKit/Source/core/css/SelectorFilter.cpp
diff --git a/third_party/WebKit/Source/core/css/SelectorFilter.cpp b/third_party/WebKit/Source/core/css/SelectorFilter.cpp
index 918059914f97f9ceac5821dc8cada8fd6eccfb89..addb845076283299a60b97bbdf26961a76f2516c 100644
--- a/third_party/WebKit/Source/core/css/SelectorFilter.cpp
+++ b/third_party/WebKit/Source/core/css/SelectorFilter.cpp
@@ -178,6 +178,7 @@ void SelectorFilter::collectIdentifierHashes(const CSSSelector& selector,
// Fall through.
case CSSSelector::ShadowPseudo:
case CSSSelector::ShadowDeep:
+ case CSSSelector::ShadowPiercingDescendant:
skipOverSubselectors = false;
collectDescendantSelectorIdentifierHashes(*current, hash);
break;
« no previous file with comments | « third_party/WebKit/Source/core/css/SelectorChecker.cpp ('k') | third_party/WebKit/Source/core/css/parser/CSSParserMode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698