OLD | NEW |
1 <?xml version="1.0" encoding="UTF-8"?> | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" | 2 <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN" |
3 "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> | 3 "http://www.wapforum.org/DTD/xhtml-mobile10.dtd"> |
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> | 4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> |
5 <head> | 5 <head> |
6 <title>XHTML Mobile Profile 1.0 document with viewport meta</title> | 6 <title>XHTML Mobile Profile 1.0 document with viewport meta</title> |
7 <meta name="viewport" content="width=700, initial-scale=0.5"> | 7 <meta name="viewport" content="width=700, initial-scale=0.5"> |
8 <script> | |
9 function test() { | |
10 if (window.testRunner) { | |
11 testRunner.dumpAsText(); | |
12 alert(internals.viewportAsText(document, 1, 320, 352)); | |
13 } | |
14 } | |
15 </script> | |
16 </head> | 8 </head> |
17 <body onload="test();"> | 9 <body></body> |
18 </body> | 10 </body> |
19 </html> | 11 </html> |
OLD | NEW |