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) {
9 @media screen and
(-webkit-device-pixel-ratio: 1.5) {
13 @media screen and
(-webkit-device-pixel-ratio: 2) {
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>