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

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

Issue 224733011: A sizes attribute parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed rebase Created 6 years, 8 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 | « Source/core/css/MediaQueryExp.cpp ('k') | Source/core/css/MediaValues.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaQuerySetTest.cpp
diff --git a/Source/core/css/MediaQuerySetTest.cpp b/Source/core/css/MediaQuerySetTest.cpp
index be0d494a19618197035d71faf8bee270133d4362..f1dcd6dc1da08670f9094ab9e0ad2d9ec6ced10b 100644
--- a/Source/core/css/MediaQuerySetTest.cpp
+++ b/Source/core/css/MediaQuerySetTest.cpp
@@ -45,6 +45,8 @@ TEST(MediaQueryParserTest, Basic)
// The second string represents the output string, if present.
// Otherwise, the output string is identical to the first string.
TestCase testCases[] = {
+ {"", 0, true},
+ {" ", "", true},
{"screen", 0, true},
{"screen and (color)", 0, true},
{"all and (min-width:500px)", "(min-width: 500px)", true},
« no previous file with comments | « Source/core/css/MediaQueryExp.cpp ('k') | Source/core/css/MediaValues.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698