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

Unified Diff: third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp

Issue 1574323003: Split compound selector after consume finished. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@upload-base
Patch Set: Removed obsolete serialization hack and fixed unit tests. 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
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 8de24d4839410fc733f8f9e841e9abd5f1a22a20..8f4f59abf5192f960390a6d0c968b06a4426206d 100644
--- a/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp
+++ b/third_party/WebKit/Source/core/css/parser/CSSSelectorParserTest.cpp
@@ -115,13 +115,13 @@ TEST(CSSSelectorParserTest, InvalidANPlusB)
TEST(CSSSelectorParserTest, ShadowDomPseudoInCompound)
{
const char* testCases[][2] = {
- { "::shadow", "*::shadow" }, // crbug.com/478969
+ { "::shadow", "::shadow" },
{ ".a::shadow", ".a::shadow" },
{ "::content", "::content" },
{ ".a::content", ".a::content" },
- { "::content.a", ".a::content" },
- { "::content.a.b", ".b.a::content" },
- { ".a::content.b", ".b.a::content" },
+ { "::content.a", "::content.a" },
+ { "::content.a.b", "::content.a.b" },
+ { ".a::content.b", ".a::content.b" },
};
for (unsigned i = 0; i < WTF_ARRAY_LENGTH(testCases); ++i) {
« no previous file with comments | « third_party/WebKit/Source/core/css/parser/CSSSelectorParser.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698