summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-01.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-01.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-01.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-01.html b/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-01.html
new file mode 100644
index 0000000..5a3aa00
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-01.html
@@ -0,0 +1,13 @@
+<html>
+<head>
+<title>CSS3 media query test: Absolute width query (screen and (max-width: 800px)). Using style element, media attribute.</title>
+<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
+<style type="text/css" media="screen and (max-width: 800px)">
+p { color: green }
+</style>
+</head>
+<body>
+<p> This text should be green if viewport is at most 800px wide.</p>
+<div style="width: 800px; background-color:lightblue;">div of width 800px</div>
+</body>
+</html>