summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/overflow/overflow_hidden.html
blob: 86d0d237616f27a5ab0e11f31c20020c9b4e3c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!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>