OLD | NEW |
1 <html><head> | 1 <html><head> |
2 | 2 |
3 <script src="../../http/tests/inspector/inspector-test.js"></script> | 3 <script src="../../http/tests/inspector-protocol/inspector-protocol-test.js"></s
cript> |
4 <script src="../../http/tests/inspector/elements-test.js"></script> | |
5 <script src="device-emulation-test.js"></script> | 4 <script src="device-emulation-test.js"></script> |
6 | 5 |
7 <script> | 6 <script> |
8 // This test is based on http://jsbin.com/urowoh/latest. | 7 // This test is based on http://jsbin.com/urowoh/latest. |
9 setMetaViewport(); | 8 setMetaViewport(); |
10 </script> | 9 </script> |
11 | 10 |
12 <style> | 11 <style> |
13 html { | 12 html { |
14 overflow-x: hidden; | 13 overflow-x: hidden; |
(...skipping 11 matching lines...) Expand all Loading... |
26 { | 25 { |
27 InspectorTest.testDeviceEmulation("device-emulation-320.html", 1200, 1000, 1
, "w=320"); | 26 InspectorTest.testDeviceEmulation("device-emulation-320.html", 1200, 1000, 1
, "w=320"); |
28 } | 27 } |
29 </script> | 28 </script> |
30 | 29 |
31 </head><body onload="runTest()"> | 30 </head><body onload="runTest()"> |
32 <p> | 31 <p> |
33 Tests that device emulation affects media rules, viewport meta tag, body dimensi
ons and window.screen. | 32 Tests that device emulation affects media rules, viewport meta tag, body dimensi
ons and window.screen. |
34 </p> | 33 </p> |
35 </body></html> | 34 </body></html> |
OLD | NEW |