Index: third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp |
diff --git a/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp b/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp |
index 81e55bd96f3047cb13342026e3d9067754fa9069..9797b27815052e801f6b7f1d14eb663c0f04eef3 100644 |
--- a/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp |
+++ b/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp |
@@ -120,6 +120,10 @@ TEST(CSSSelectorParserTest, ShadowDomPseudoInCompound) |
{ ".a::shadow", ".a::shadow" }, |
{ "::content", "::content" }, |
{ ".a::content", ".a::content" }, |
+ { "::content.a", "::content.a" }, |
+ { "::content.a.b", "::content.a.b" }, |
+ { ".a::content.b", ".a::content.b" }, |
+ { "::content:not(#id)", "::content:not(#id)" } |
}; |
for (auto testCase : testCases) { |
@@ -183,12 +187,8 @@ TEST(CSSSelectorParserTest, InvalidSimpleAfterPseudoElementInCompound) |
"::shadow.class", |
"::selection:window-inactive::before", |
"::-webkit-volume-slider.class", |
- "::content.a", |
- "::content.a.b", |
- ".a::content.b", |
"::before:not(.a)", |
"::shadow:not(::after)", |
- "::content:not(#id)", |
"::-webkit-scrollbar:vertical:not(:first-child)", |
"video::-webkit-media-text-track-region-container.scrolling", |
"div ::before.a" |