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

Unified Diff: third_party/WebKit/Source/core/css/CSSSelectorList.h

Issue 1523843004: Add support for new CSS ::slotted() pseudo element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase / fix comments for tests (FYI) Created 4 years, 11 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: third_party/WebKit/Source/core/css/CSSSelectorList.h
diff --git a/third_party/WebKit/Source/core/css/CSSSelectorList.h b/third_party/WebKit/Source/core/css/CSSSelectorList.h
index 94b371d4f42bc0a09d19f09cfbb8430e0c59ea87..b50a1364da34d826d38af9d525b823acaa71a805 100644
--- a/third_party/WebKit/Source/core/css/CSSSelectorList.h
+++ b/third_party/WebKit/Source/core/css/CSSSelectorList.h
@@ -79,9 +79,8 @@ public:
bool selectorNeedsUpdatedDistribution(size_t index) const;
- // TODO(kochi): "ShadowDistributed" means the selector has ::content pseudo element.
- // Once ::slotted is introduced, come up with more readable name.
bool selectorHasShadowDistributed(size_t index) const;
+ bool selectorHasShadowSlotted(size_t index) const;
bool selectorUsesDeepCombinatorOrShadowPseudo(size_t index) const;
String selectorsText() const;
« no previous file with comments | « third_party/WebKit/Source/core/css/CSSSelector.cpp ('k') | third_party/WebKit/Source/core/css/CSSSelectorList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698