| Index: LayoutTests/fast/media/mq-scan-02.html
|
| diff --git a/LayoutTests/fast/media/mq-scan-02.html b/LayoutTests/fast/media/mq-scan-02.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..eb03e2a1b6a9e8be3ae57265d7977b21a6b516b3
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/media/mq-scan-02.html
|
| @@ -0,0 +1,34 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| +<title>Media Queries - scan media feature for "tv"</title>
|
| +<script>
|
| + if (window.testRunner) {
|
| + /* If progressive or interlace will ever be queriable for TVs through some
|
| + platform interface, this test needs to be modified by a test override.
|
| + For now, the implementation assumes a modern tv with progressive scan.
|
| + We test that here. */
|
| + window.internals.settings.setMediaTypeOverride("tv");
|
| + }
|
| +</script>
|
| +<style>
|
| + @media (scan: progressive) {
|
| + #t1 { color: green; }
|
| + }
|
| +
|
| + #t2 { color: green; }
|
| + @media (scan: interlace) {
|
| + #t2 { color: red; }
|
| + }
|
| +
|
| + @media (scan) {
|
| + #t3 { color: green; }
|
| + }
|
| +</style>
|
| +</head>
|
| +<body>
|
| + <div id="t1">Should be green</div>
|
| + <div id="t2">Should be green</div>
|
| + <div id="t3">Should be green</div>
|
| +</body>
|
| +</html>
|
|
|