haikuwebkit/LayoutTests/fast/viewport/viewport-55.html

14 lines
412 B
HTML

<head>
<title>Check that 'yes' and 'no' translate to 0 for width/height.</title>
<meta name="viewport" content="width=yes, height=no">
<script>
function test() {
if (window.testRunner) {
testRunner.dumpAsText();
alert(internals.configurationForViewport(1, 320, 480, 320, 352));
}
}
</script>
</head>
<body onload="test();">