summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-04.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-04.html')
-rw-r--r--third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-04.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-04.html b/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-04.html
new file mode 100644
index 0000000..13b0db4d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-04.html
@@ -0,0 +1,15 @@
+<html>
+<head>
+<title>CSS3 media query test: Absolute width query (screen and (max-width: 800px)). Using style element, @media css rule.</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>