OLD | NEW |
1 <head> | 1 <head> |
2 <title>Viewport META with "initial-scale=1.0".</title> | 2 <title>Viewport META with "initial-scale=1.0".</title> |
3 <meta name="viewport" content="initial-scale=1.0"> | 3 <meta name="viewport" content="initial-scale=1.0"> |
4 <script> | 4 <script> |
5 function test() { | 5 function test() { |
6 if (window.testRunner) { | 6 if (window.testRunner) { |
7 testRunner.dumpAsText(); | 7 testRunner.dumpAsText(); |
8 alert(internals.configurationForViewport(document, 1, 320, 480,
320, 352)); | 8 alert(internals.viewportAsText(document, 1, 320, 352)); |
9 } | 9 } |
10 } | 10 } |
11 </script> | 11 </script> |
12 </head> | 12 </head> |
13 <body onload="test();"> | 13 <body onload="test();"> |
OLD | NEW |