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