blob: 711c33e6dfeb56e8d3c2062eba28f2e7c1f6e04a [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
@-webkit-viewport {
width: 300px;
}
</style>
<script type="text/javascript">
function load() {
var result = document.getElementById("result");
result.innerHTML = "window.innerWidth should be equal to 300. Got ";
result.innerHTML += window.innerWidth;
if (window.testRunner)
testRunner.notifyDone();
}
</script>
</head>
<body onload="load()">
<div id="result">
</p>
</div>
</body>
</html>