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