Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / media / mq-relative-constraints-08.html
blob797f3c73e6acebe822629a844de860d1218e3a82
1 <html>
2 <head>
3 <title>CSS3 media query test: media query testing constraints with relative values (screen and (min-height: 30ex)). Using style element, @media css rule.</title>
4 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
6 <style type="text/css">
7 p { color: red }
8 @media screen and (min-height: 30ex) {
9 p { color: green }
11 </style>
12 </head>
13 <body>
15 <p> This text should be green if height is at least 30ex .</p>
17 <div style="display:inline; float:left; height: 30ex; background-color: lightblue;"> div of height 30ex </div>
18 <div style="display:inline; float:left; height: 600px; background-color: lightblue;"> div of height 600px </div>
19 </body>
20 </html>