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