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

Unified Diff: third_party/WebKit/Source/core/css/CSSSelector.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/CSSSelector.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.cpp b/third_party/WebKit/Source/core/css/CSSSelector.cpp
index 89d130750e122e0511d45c2ec8489e672408c01d..59e7564bc169219b3efadc045317d1c74a7c6daa 100644
--- a/third_party/WebKit/Source/core/css/CSSSelector.cpp
+++ b/third_party/WebKit/Source/core/css/CSSSelector.cpp
@@ -762,6 +762,8 @@ String CSSSelector::selectorText(const String& rightSide) const {
case ShadowDeep:
return tagHistory->selectorText(" /deep/ " + str.toString() +
rightSide);
+ case ShadowPiercingDescendant:
+ return tagHistory->selectorText(" >>> " + str.toString() + rightSide);
case DirectAdjacent:
return tagHistory->selectorText(" + " + str.toString() + rightSide);
case IndirectAdjacent:
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSelector.h ('k') | third_party/WebKit/Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698