Index: Source/core/css/MediaQueryEvaluatorTest.cpp |
diff --git a/Source/core/css/MediaQueryEvaluatorTest.cpp b/Source/core/css/MediaQueryEvaluatorTest.cpp |
index f982909ebcdd6a8cf1c5baf3b393ed6ee0e9e56c..20b1094084d266ad1f6397bcb5e9bb6f50645d6b 100644 |
--- a/Source/core/css/MediaQueryEvaluatorTest.cpp |
+++ b/Source/core/css/MediaQueryEvaluatorTest.cpp |
@@ -63,6 +63,8 @@ TestCase viewportTestCases[] = { |
{"(max-height: 500px)", 1}, |
{"(max-height: 499px)", 0}, |
{"(height: 500px)", 1}, |
+ {"(height: 500.1px)", 0}, |
+ {"(height: 499.9px)", 0}, |
rune
2014/10/10 09:01:46
Please add tests for the min/max ones too. max 499
|
{"(height: 501px)", 0}, |
{"screen and (min-width: 400px) and (max-width: 700px)", 1}, |
{0, 0} // Do not remove the terminator line. |