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

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

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/CSSSelector.h
diff --git a/third_party/WebKit/Source/core/css/CSSSelector.h b/third_party/WebKit/Source/core/css/CSSSelector.h
index 3c0bc9028e0789f6f0bb5e79194db62008b81a27..b96a0863cdac53f05f251bdfa5f1f956dfd7a7cc 100644
--- a/third_party/WebKit/Source/core/css/CSSSelector.h
+++ b/third_party/WebKit/Source/core/css/CSSSelector.h
@@ -129,10 +129,11 @@ class CORE_EXPORT CSSSelector {
Child, // > combinator
DirectAdjacent, // + combinator
IndirectAdjacent, // ~ combinator
- // Special case of shadow DOM pseudo elements / shadow pseudo element
- ShadowPseudo,
- ShadowDeep, // /deep/ combinator
- ShadowSlot // slotted to <slot> element
+ // Special cases for shadow DOM related selectors.
+ ShadowPiercingDescendant, // >>> combinator
+ ShadowDeep, // /deep/ combinator
+ ShadowPseudo, // ::shadow pseudo element
+ ShadowSlot // ::slotted() pseudo element
};
enum PseudoType {
@@ -347,7 +348,7 @@ class CORE_EXPORT CSSSelector {
bool needsUpdatedDistribution() const;
private:
- unsigned m_relation : 3; // enum RelationType
+ unsigned m_relation : 4; // enum RelationType
unsigned m_match : 4; // enum MatchType
unsigned m_pseudoType : 8; // enum PseudoType
unsigned m_isLastInSelectorList : 1;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSSelector.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698