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