Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / media / mq-pixel-ratio.html
blobd32e6191ccce1e6bd7152a09d0c202b1596c0c12
1 <html>
2 <head>
3 <title>CSS3 media query test: Device-pixel ratio query. Using style element, @media css rule.</title>
4 <style type="text/css">
5 @media screen and (-webkit-device-pixel-ratio: 1) {
6 p { color:green; }
9 @media screen and (-webkit-device-pixel-ratio: 1.5) {
10 p { color:purple; }
13 @media screen and (-webkit-device-pixel-ratio: 2) {
14 p { color:red; }
17 </style>
18 </head>
20 <body>
21 <p>This text should be green if the resolution scaling factor is 1.0, purple if the scaling factor is 1.5,
22 red if the scaling factor is 2.0, and black otherwise.</p>
23 </body>
24 </html>