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

Unified Diff: Source/core/css/CSSSelector.cpp

Issue 279763002: Support a negation pseudo-class, :not(), in <content select> (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update Created 6 years, 7 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: Source/core/css/CSSSelector.cpp
diff --git a/Source/core/css/CSSSelector.cpp b/Source/core/css/CSSSelector.cpp
index b06280e5613737b3aab5ffe11e772e670e308ce4..eb8fef6079f50e9ac7108fd6e2b019921edfadb3 100644
--- a/Source/core/css/CSSSelector.cpp
+++ b/Source/core/css/CSSSelector.cpp
@@ -775,6 +775,7 @@ static bool validateSubSelector(const CSSSelector* selector)
case CSSSelector::PseudoOnlyOfType:
case CSSSelector::PseudoHost:
case CSSSelector::PseudoHostContext:
+ case CSSSelector::PseudoNot:
return true;
default:
return false;
« no previous file with comments | « LayoutTests/fast/dom/shadow/content-selector-query-expected.txt ('k') | Source/core/html/HTMLContentElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698