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

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

Issue 215173003: Remove support for custom pseudo elements. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 984620bc2dba83a2dbb4b0d56c532e82c325c225..cddc68bff4e022860b91c4ebc77f4e2d83d71c1e 100644
--- a/Source/core/css/CSSSelector.cpp
+++ b/Source/core/css/CSSSelector.cpp
@@ -420,7 +420,7 @@ CSSSelector::PseudoType CSSSelector::parsePseudoType(const AtomicString& name)
if (name.startsWith("-webkit-"))
return PseudoWebKitCustomElement;
- if (name.startsWith("x-") || name.startsWith("cue"))
+ if (name.startsWith("cue"))
return PseudoUserAgentCustomElement;
return PseudoUnknown;
« no previous file with comments | « LayoutTests/fast/dom/shadow/styling-pseudo-attribute-in-shadow-expected.html ('k') | Source/core/css/SelectorChecker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698