Chromium Code Reviews

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

Issue 1565263003: Implement CSS parser part for ::slotted pseudo element (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on rune's change Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
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 6982381afae2f0cd5d09d02e2dc487dadb470917..207ef44e0557ed8451d700e2040fd2f4654bf496 100644
--- a/third_party/WebKit/Source/core/css/CSSSelector.h
+++ b/third_party/WebKit/Source/core/css/CSSSelector.h
@@ -117,7 +117,8 @@ public:
DirectAdjacent, // + combinator
IndirectAdjacent, // ~ combinator
ShadowPseudo, // Special case of shadow DOM pseudo elements / shadow pseudo element
- ShadowDeep // /deep/ combinator
+ ShadowDeep, // /deep/ combinator
+ ShadowSlot // slotted to <slot> element
};
enum PseudoType {
@@ -201,7 +202,8 @@ public:
PseudoHostContext,
PseudoShadow,
PseudoSpatialNavigationFocus,
- PseudoListBox
+ PseudoListBox,
+ PseudoSlotted
};
enum AttributeMatchType {
@@ -296,7 +298,7 @@ private:
unsigned m_hasRareData : 1;
unsigned m_isForPage : 1;
unsigned m_tagIsImplicit : 1;
- unsigned m_relationIsAffectedByPseudoContent : 1;
+ unsigned m_relationIsAffectedByPseudoContent : 1;
void setPseudoType(PseudoType pseudoType)
{

Powered by Google App Engine