Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / media / mq-relative-constraints-02.html
blob7006316e0d6f7f94e5a38951e12eefad5bf5a248
1 <html>
2 <head>
3 <title>CSS3 media query test: relative constraints test using screen and (min-width: 30em). Using style element, media attribute </title>
4 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
5 <style type="text/css" media="screen and (min-width: 30em)">
6 p {
7 color: green;
9 </style>
10 </head>
11 <body>
13 <p> This text should be green if viewport is wider than 30em. </p>
15 <div style="width: 30em; background-color: lightblue;"> div of length 30 em </div>
16 <div style="width: 800px; background-color: lightblue;"> div of length 800px </div>
17 </body>
18 </html>