Index: LayoutTests/fast/media/media-query-and.html |
diff --git a/LayoutTests/fast/media/media-query-and.html b/LayoutTests/fast/media/media-query-and.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..07a1706b2fd4b3526ed62b62fef1e874e496c5c8 |
--- /dev/null |
+++ b/LayoutTests/fast/media/media-query-and.html |
@@ -0,0 +1,24 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+ <title>CSS Media Queries: tokenizing "and"</title> |
+ <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#syntax" /> |
+ <style type="text/css"> |
+ div { |
+ width: 150px; |
+ height: 50px; |
+ background-color: red; |
+ } |
+ #t1 { background-color: green; } |
+ @media all and(color) { #t1 { background-color: red; } } |
+ @media all and/**/(color) { #t2 { background-color: green; } } |
+ @media all and (color) { #t3 { background-color: green; } } |
+ </style> |
+</head> |
+<body> |
+ <p>You should see a green square below.</p> |
+ <div id="t1"></div> |
+ <div id="t2"></div> |
+ <div id="t3"></div> |
+</body> |
+</html> |