OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <script> | |
3 onload = function() { | |
4 document.getElementById('target').scrollTop = 10000; | |
5 } | |
6 </script> | |
7 <p>You should see the word 'PASS' below.</p> | |
8 <div id="target" style="overflow:scroll; line-height:2em; height:4em;"> | |
9 <!-- We need the below block with restricted height, like in the test. One m ight think it | |
10 doesn't matter, but because of crbug.com/450202 (which might not even b e a bug), it | |
11 does. --> | |
12 <div style="height:2em;"> | |
13 <br><br><br><br>PASS | |
14 </div> | |
15 </div> | |
OLD | NEW |