blob: c69fee360f89922f28a067a98b345f79a829bb0c [file] [log] [blame]
kenneth@webkit.org8a9df012010-09-13 10:37:28 +00001<?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.org41d97fb2012-07-10 07:55:50 +000012 alert(internals.configurationForViewport(document, 1, 320, 480, 320, 352));
kenneth@webkit.org8a9df012010-09-13 10:37:28 +000013 }
14 }
15 </script>
16</head>
17<body onload="test();">
18</body>
19</html>