<!DOCTYPE HTML> | |
<html style="overflow: hidden"> | |
<script> | |
function check () { | |
var mylink = document.getElementsByTagName('a'); | |
location = mylink[0]; | |
} | |
</script> | |
<body onload="check()"> | |
<p>Scrolling should occur even when the frame's overflow is hidden (i.e. it has no visible scrollbars).</p> | |
<div style="height: 2000px"> | |
<a href="#top">Click here</a> </div> | |
<h2 id="top">Test Passed</h2> | |
<p>The test should have automatically scrolled down to show "Test Passed" above.</p> | |
</body> | |
</html> |