OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../resources/js-test.js"></script> |
| 3 <script> |
| 4 description("Test clamping of overflowing media query lengths") |
| 5 |
| 6 shouldBeFalse("matchMedia('(min-width: 9999999999px)').matches"); |
| 7 shouldBeTrue("matchMedia('(max-width: 9999999999px)').matches"); |
| 8 shouldBeFalse("matchMedia('(min-device-width: 9999999999px)').matches"); |
| 9 shouldBeTrue("matchMedia('(max-device-width: 9999999999px)').matches"); |
| 10 shouldBeFalse("matchMedia('(min-height: 9999999999px)').matches"); |
| 11 shouldBeTrue("matchMedia('(max-height: 9999999999px)').matches"); |
| 12 shouldBeFalse("matchMedia('(min-device-height: 9999999999px)').matches"); |
| 13 shouldBeTrue("matchMedia('(max-device-height: 9999999999px)').matches"); |
| 14 </script> |
OLD | NEW |