Web Animations: Don't set compositor pending when document has been detached
[blink.git] / ManualTests / scrollbar-crash-on-hide-scrolled-area.html
blob4fb8f578f6d8c077f54ae3dddea2ece543ef9e24
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;
13 #hint {
14 height:9000px;
16 </style>
17 <script>
18 function runTest()
20 document.getElementById('lessons').scrollTop = 10000;
21 document.getElementById('toHide').style.display='none';
23 </script>
24 </head>
26 <body onload="runTest();">
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>
36 PASSED
37 </div>
39 </body>
40 </html>