Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / media / mq-width-absolute-04.html
blob13b0db4d7e8aab906c25dc8cd8914afb63c0ee58
1 <html>
2 <head>
3 <title>CSS3 media query test: Absolute width query (screen and (max-width: 800px)). Using style element, @media css rule.</title>
4 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
5 <style type="text/css">
6 @media screen and (max-width: 800px) {
7 p { color: green }
9 </style>
10 </head>
11 <body>
12 <p> This text should be green if viewport is at most 800px wide.</p>
13 <div style="width: 800px; background-color:lightblue;">div of width 800px</div>
14 </body>
15 </html>