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

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

Issue 171383002: A thread-safe Media Query Parser (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix a debug build error 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/MediaQuerySetTest.cpp
diff --git a/Source/core/css/MediaQuerySetTest.cpp b/Source/core/css/MediaQuerySetTest.cpp
index 3cc7bdd296e4c16fbca45c3cbf0b218c16870304..8746a17cef6244679c718fe463698c908f3702b9 100644
--- a/Source/core/css/MediaQuerySetTest.cpp
+++ b/Source/core/css/MediaQuerySetTest.cpp
@@ -94,7 +94,7 @@ TEST(MediaQueryParserTest, Basic)
{"all and(color)", "not all"},
{"all and (", "not all"},
{"test;,all", "not all, all"},
- // {"(color:20example)", "not all"}, // BisonCSSParser fails to parse that MQ, producing an infinitesimal float.
+ {"(color:20example)", "not all"},
{"not braille", 0},
{",screen", "not all, screen"},
{",all", "not all, all"},
@@ -104,7 +104,7 @@ TEST(MediaQueryParserTest, Basic)
{",screen,,(invalid,),,", "not all, screen, not all, not all, not all, not all"},
{",(all,),,", "not all, not all, not all, not all"},
{",", "not all, not all"},
- // {" ", ""}, // BisonCSSParser fails to parse that MQ, producing "not all, not all".
+ {" ", ""},
{"(color", "(color)"},
{"(min-color: 2", "(min-color: 2)"},
{"(orientation: portrait)", 0},

Powered by Google App Engine
This is Rietveld 408576698