Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / overflow / scrollbar-position-update.html
blob3ee231cc84679823b3577c33b36e8c8227a7b77c
1 <p>
2 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=16426">http://bugs.webkit.org/show_bug.cgi?id=16426</a>
3 Divs with overflow:auto: scrollbars not correctly updated when contents change</i>.
4 </p>
5 <p>
6 The thumb should be in the middle of the scroll bar.
7 </p>
8 <div id="outer" style="height: 200px; width: 200px; overflow-y: scroll;">
9 <div id="inner" style="height: 400px;">
10 </div>
11 </div>
12 <script>
13 document.getElementById("outer").scrollTop = 200;
14 document.getElementById("inner").style.height = "600px";
15 </script>