Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / overflow / overflow-visible-should-ignore-scroll.html
blob7c493426415bfb234271a2870a74546d11a422eb
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css">
5 #outerbox {
6 height:0;
7 position:absolute;
8 overflow:hidden;
10 </style>
11 <script type="text/javascript">
12 function test () {
13 document.getElementById('outerbox').scrollTop=1000;
14 document.getElementById('outerbox').style.overflow='visible';
16 </script>
17 </head>
18 <body onload="test();">
19 <div id="outerbox">
20 <span style="position:absolute;">Absolute</span><span style="position:relative;left:100px;">Relative</span><br/>
21 This test is successful if both words in the above line are displayed properly.
22 </div>
23 </body>
24 </html>