kenneth@webkit.org | 8a9df01 | 2010-09-13 10:37:28 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" |
| 3 | "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> |
| 4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
| 5 | <head> |
| 6 | <title>XHTML Mobile Profile 1.0 document with viewport meta</title> |
| 7 | <meta name="viewport" content="width=700, initial-scale=0.5"> |
| 8 | <script> |
| 9 | function test() { |
| 10 | if (window.layoutTestController) { |
| 11 | layoutTestController.dumpAsText(); |
abarth@webkit.org | 41d97fb | 2012-07-10 07:55:50 +0000 | [diff] [blame] | 12 | alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352)); |
kenneth@webkit.org | 8a9df01 | 2010-09-13 10:37:28 +0000 | [diff] [blame] | 13 | } |
| 14 | } |
| 15 | </script> |
| 16 | </head> |
| 17 | <body onload="test();"> |
| 18 | </body> |
| 19 | </html> |