Upstream version 5.34.92.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / LayoutTests / inspector / device-emulation / device-emulation-dw-2x.html
1 <html>
2 <head>
3
4 <script src="../../http/tests/inspector/inspector-test.js"></script>
5 <script src="../../http/tests/inspector/elements-test.js"></script>
6 <script src="device-emulation-test.js"></script>
7
8 <script>
9 // This test is based on http://jsbin.com/urowoh/latest.
10 setMetaViewport();
11 </script>
12
13 <style>
14 body {
15     margin: 0;
16     min-height: 1000px;
17     -webkit-text-size-adjust: 100%;
18 }
19 </style>
20
21 <script>
22 function test()
23 {
24     InspectorTest.testDeviceEmulation("device-emulation-dw-2x.html", 1200, 1000, 2, "w=dw");
25 }
26 </script>
27
28 </head>
29 <body onload="runTest()">
30 <p>
31 Tests that device emulation affects media rules, viewport meta tag, body dimensions and window.screen.
32 </p>
33 </body>
34 </html>