summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/media/mq-resolution-pagezoom.html
blob: 8613074d4e875091ac6ba6f5991391b11471f5e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<script>
    eventSender.zoomPageIn();
    eventSender.zoomPageIn();
</script>
<style>
    body {
        background: red;
    }
    @media (min-resolution: 1.44dppx) and (max-resolution: 1.441dppx) {
        body {
            background: green;
        }
    }
    @media (-webkit-min-device-pixel-ratio: 1.44) and (-webkit-max-device-pixel-ratio: 1.441) {
        body {
            color: blue;
        }
    }
</style>
<p>
    This page should have 144% full page zoom, so the background should go green.
</p>