[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / fast / media / mq-pixel-ratio.html
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; }
7 }
8
9 @media  screen and (-webkit-device-pixel-ratio: 1.5) {
10     p { color:purple; }
11 }
12
13 @media  screen and (-webkit-device-pixel-ratio: 2) {
14     p { color:red; }
15 }
16
17 </style>
18 </head>
19
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>