blob: 1e133264e2d609040da39288c46e62ea1328c116 [file] [log] [blame]
<head>
<meta name="viewport" content="width=device-width, user-scalable=yes, 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 true/.test(viewportConfiguation))
alert("PASS");
else
alert("FAIL: " + viewportConfiguation);
}
}
</script>
</head>
<body onload="test();">