@media queries do not take zooming into account
[WebKit-https.git] / LayoutTests / fast / media / mq-width-pagezoom.html
1 <!DOCTYPE html>
2 <script>
3     eventSender.zoomPageIn();
4     eventSender.zoomPageIn();
5 </script>
6 <style>
7     body {
8         background: red;
9     }
10     @media (max-width: 700px) {
11         body {
12             background: green;
13         }
14     }
15 </style>
16 <p>
17     This page should have 144% full page zoom, hence the viewport width should
18     be 800 / 1.44 = 555.6px, which is less than 700 so the background should
19     go green.
20 </p>