Index: LayoutTests/fast/media/mq-invalid-media-type.html |
diff --git a/LayoutTests/fast/media/mq-invalid-media-type.html b/LayoutTests/fast/media/mq-invalid-media-type.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..00850b64e5a929dd1cceed07da93a633d928eb8d |
--- /dev/null |
+++ b/LayoutTests/fast/media/mq-invalid-media-type.html |
@@ -0,0 +1,21 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<title>CSS3 media query test: 'not', 'and', 'only', 'or' are invalid media types.</title> |
+<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/" /> |
+<style type="text/css"> |
+#t1::before, #t2::before, #t3::before, #t4::before { content: "PASS" } |
+@media not not { #t1::before { content: "FAIL" } } |
+@media not and { #t2::before { content: "FAIL" } } |
+@media not only { #t3::before { content: "FAIL" } } |
+@media not or { #t4::before { content: "FAIL" } } |
+</style> |
+</head> |
+<body> |
+<p>You should see four PASSes below.</p> |
+<div id="t1"></div> |
+<div id="t2"></div> |
+<div id="t3"></div> |
+<div id="t4"></div> |
+</body> |
+</html> |