Index: LayoutTests/fast/media/mq-scan-01.html |
diff --git a/LayoutTests/fast/media/mq-scan-01.html b/LayoutTests/fast/media/mq-scan-01.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6bf862096d1d6da762f466bfb836d2bde73f530a |
--- /dev/null |
+++ b/LayoutTests/fast/media/mq-scan-01.html |
@@ -0,0 +1,31 @@ |
+<!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> |