summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/media/mq-compound-query-05.html
blob: 376e7e3b78be3cb18e53cd2ef1326b892d64b505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html>
<head>
<title>CSS3 media query test: Compound media query, absolute values (screen and (max-width: 800px) and (max-height:600px)). 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) and (max-height:600px){
p { color: green }
}
</style>
</head>
<body>
<p> This text should be green if viewport is at most 800px x 600px.</p>
</body>
</html>