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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSParserSelector.h

Issue 1587643004: Restrict use of pseudo elements within compound. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@valid-selectors
Patch Set: Workaround for invalid selectors in UA style. 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/parser/CSSParserSelector.h
diff --git a/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h b/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
index b0f704f7d7a3ad6c292763d5d1bd25f2bb9d1ab3..b852f720067e941ed017e2e66a9d0ed56c7b92d9 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
+++ b/third_party/WebKit/Source/core/css/parser/CSSParserSelector.h
@@ -59,6 +59,7 @@ public:
CSSSelector::Match match() const { return m_selector->match(); }
CSSSelector::PseudoType pseudoType() const { return m_selector->pseudoType(); }
+ const CSSSelectorList* selectorList() const { return m_selector->selectorList(); }
bool needsImplicitShadowCrossingCombinatorForMatching() const { return pseudoType() == CSSSelector::PseudoWebKitCustomElement || pseudoType() == CSSSelector::PseudoCue || pseudoType() == CSSSelector::PseudoShadow; }

Powered by Google App Engine
This is Rietveld 408576698