1<!DOCTYPE html>
2<html lang="en">
3<head>
4    <meta charset="utf-8"/>
5    <title>QuickStart</title>
6    <style>
7    .lessonChapters {
8        position:absolute;
9        top:26px;
10        bottom:22px;
11        overflow:auto;
12    }
13    #hint {
14        height:9000px;
15    }
16</style>
17<script>
18    function runTest()
19    {
20        document.getElementById('lessons').scrollTop = 10000;
21        document.getElementById('toHide').style.display='none';
22    }
23</script>
24</head>
25
26<body onload="runTest();">
27
28<div class="lessonChapters" id="lessons">
29<div class="lessonChapter" id="toHide">
30    <br />
31    Manual repro: scroll down and click on <b>Next step</b>
32    <div id="hint">&nbsp;</div>
33    <a href="#" class="nextStepButton" onclick="document.getElementById('toHide').style.display='none'">Next step</a>
34</div>
35<p>Bug #74111: This test is to make sure that a scrolled element does not crash the browser when it goes hidden. The test passes if it does not crash.</p>
36PASSED
37</div>
38    
39</body>
40</html>
41