kenneth@webkit.org | 8a9df01 | 2010-09-13 10:37:28 +0000 | [diff] [blame] | 1 | <head> |
| 2 | <title>Viewport META with "height=200, initial-scale=0.5".</title> |
| 3 | <meta name="viewport" content="height=200, initial-scale=0.5"> |
| 4 | <script> |
| 5 | function test() { |
rniwa@webkit.org | 224c8b5 | 2012-08-04 01:13:22 +0000 | [diff] [blame] | 6 | if (window.testRunner) { |
| 7 | testRunner.dumpAsText(); |
abarth@webkit.org | 41d97fb | 2012-07-10 07:55:50 +0000 | [diff] [blame] | 8 | alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352)); |
kenneth@webkit.org | 8a9df01 | 2010-09-13 10:37:28 +0000 | [diff] [blame] | 9 | } |
| 10 | } |
| 11 | </script> |
| 12 | </head> |
| 13 | <body onload="test();"> |