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