summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/media/mq-width-absolute-02.html
blob: 2ebcb079714596f423868b091cc88f3ac67250bd (plain)
1
2
3
4
5
6
7
8
9
10
11
<html>
<head>
<title>CSS3 media query test: Absolute width query (screen and (max-width: 800px)). Using link element, media attribute.</title>
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
<link rel="stylesheet" type="text/css" media="screen and (max-width: 800px)" href="import-p-green.css" />
</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>