| <!DOCTYPE html> |
| <html> |
| <head> |
| <title>Media Queries - scan media feature for "screen"</title> |
| <script> |
| if (window.testRunner) { |
| /* The scan media feature only applies to "tv" media. This test checks that |
| we don't match any of the values for "screen". */ |
| window.internals.settings.setMediaTypeOverride("screen"); |
| } |
| </script> |
| <style> |
| @media (scan: progressive) { |
| #t1 { color: red; } |
| } |
| |
| @media (scan: interlace) { |
| #t2 { color: red; } |
| } |
| |
| @media (scan) { |
| #t3 { color: red; } |
| } |
| </style> |
| </head> |
| <body> |
| <div id="t1">Should not be red</div> |
| <div id="t2">Should not be red</div> |
| <div id="t3">Should not be red</div> |
| </body> |
| </html> |