Index: third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp |
index 221797dff6d4a53bbf842a89442dedd7eca8807f..6de81c9678ca37942f584890d5f617da8a48b3d8 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp |
@@ -375,6 +375,8 @@ std::unique_ptr<CSSParserSelector> CSSSelectorParser::consumeAttribute( |
AtomicString attributeName; |
if (!consumeName(block, attributeName, namespacePrefix)) |
return nullptr; |
+ if (attributeName == starAtom) |
+ return nullptr; |
block.consumeWhitespace(); |
if (m_context->isHTMLDocument()) |