Index: Source/core/css/MediaQueryEvaluatorTest.cpp |
diff --git a/Source/core/css/MediaQueryEvaluatorTest.cpp b/Source/core/css/MediaQueryEvaluatorTest.cpp |
index f982909ebcdd6a8cf1c5baf3b393ed6ee0e9e56c..d72278ef72b31239291eb539b2d6cd8a36e66962 100644 |
--- a/Source/core/css/MediaQueryEvaluatorTest.cpp |
+++ b/Source/core/css/MediaQueryEvaluatorTest.cpp |
@@ -60,10 +60,17 @@ TestCase viewportTestCases[] = { |
{"(width: 501px)", 0}, |
{"(min-height: 500px)", 1}, |
{"(min-height: 501px)", 0}, |
+ {"(min-height: 500.001px)", 0}, |
{"(max-height: 500px)", 1}, |
+ {"(max-height: 499.999px)", 0}, |
{"(max-height: 499px)", 0}, |
{"(height: 500px)", 1}, |
+ {"(height: 500.001px)", 0}, |
+ {"(height: 499.999px)", 0}, |
{"(height: 501px)", 0}, |
+ {"(height)", 1}, |
+ {"(width)", 1}, |
+ {"(width: whatisthis)", 0}, |
{"screen and (min-width: 400px) and (max-width: 700px)", 1}, |
{0, 0} // Do not remove the terminator line. |
}; |