summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/media/mq-simple-query-05.html
blob: 6d63879c18cbb9aa9cc15bf1b710d329e8b36788 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<html>
<head>
<title> CSS3 media query test: matches color or monochrome screens </title>  
<link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/" />
<style type="text/css">
p { color: red }
@media all and (color) {
p { color: green }
}
@media all and (monochrome) {
p { color: green;}
}
</style>
</head>
<body>
<p> This text should be green.</p>
</body>
</html>