blob: 0199c931b8df7e1c0d3126e4c66b65b1f52a0346 [file] [log] [blame]
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, maximum-scale=3, minimum-scale=1">
<script>
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
var viewportConfiguation = internals.configurationForViewport(1, 320, 480, 320, 352);
if (/userScalable false/.test(viewportConfiguation))
alert("PASS");
else
alert("FAIL: " + viewportConfiguation);
}
}
</script>
</head>
<body onload="test();">