blob: 78d4cb541677db1ea69a7632c2b4617b2d351765 [file] [log] [blame]
<html>
<body><div style="overflow:auto;width:200px;height:200px;">
</div>
The word 'PASSED' should be scrolled into view above. If you don't see it the test has failed.
<script>
document.body.firstChild.innerHTML = "<div style='padding-top:200px;width:200px;padding-left:200px; height:200px;background-color:green;color:white'>PASSED</div>";
document.body.firstChild.scrollLeft = 200;
document.body.firstChild.scrollTop = 200;
</script>