Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / inspector / device-emulation / device-emulation-320.html
blobfc2cd695f940f47ad2e6673ef8e3014793e4b1ba
1 <html><head>
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>
7 <script>
8 // This test is based on http://jsbin.com/urowoh/latest.
9 setMetaViewport();
10 </script>
12 <style>
13 html {
14 overflow-x: hidden;
17 body {
18 margin: 0;
19 min-height: 1000px;
20 overflow-x: hidden;
22 </style>
24 <script>
25 function test()
27 InspectorTest.testDeviceEmulation("device-emulation-320.html", 1200, 1000, 1, "w=320");
29 </script>
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>