Index: LayoutTests/fast/media/mq-unknown-ident-values.html |
diff --git a/LayoutTests/fast/media/mq-unknown-ident-values.html b/LayoutTests/fast/media/mq-unknown-ident-values.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c02175432a8fc2e91f367887dcc6412d7929d10c |
--- /dev/null |
+++ b/LayoutTests/fast/media/mq-unknown-ident-values.html |
@@ -0,0 +1,26 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <title>Media queries with invalid ident values must be dropped</title> |
+ <style> |
+ @media not all and (orientation: block) { |
+ #t1 { color: red; } |
+ } |
+ @media not all and (view-mode: portrait) { |
+ #t2 { color: red; } |
+ } |
+ @media not all and (pointer: landscape) { |
+ #t3 { color: red; } |
+ } |
+ @media not all and (scan: none) { |
+ #t4 { 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> |
+ <div id="t4">Should not be red</div> |
+</body> |
+</html> |