| Index: LayoutTests/fast/media/media-query-overflow-value.html
|
| diff --git a/LayoutTests/fast/media/media-query-overflow-value.html b/LayoutTests/fast/media/media-query-overflow-value.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4a974d29e12d269a3679c91ed01f976c46adbb00
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/media/media-query-overflow-value.html
|
| @@ -0,0 +1,14 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/js-test.js"></script>
|
| +<script>
|
| +description("Test clamping of overflowing media query lengths")
|
| +
|
| +shouldBeFalse("matchMedia('(min-width: 9999999999px)').matches");
|
| +shouldBeTrue("matchMedia('(max-width: 9999999999px)').matches");
|
| +shouldBeFalse("matchMedia('(min-device-width: 9999999999px)').matches");
|
| +shouldBeTrue("matchMedia('(max-device-width: 9999999999px)').matches");
|
| +shouldBeFalse("matchMedia('(min-height: 9999999999px)').matches");
|
| +shouldBeTrue("matchMedia('(max-height: 9999999999px)').matches");
|
| +shouldBeFalse("matchMedia('(min-device-height: 9999999999px)').matches");
|
| +shouldBeTrue("matchMedia('(max-device-height: 9999999999px)').matches");
|
| +</script>
|
|
|