Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / listbox-scrollbar-incremental-load.html
blobd69bcd0c5523b1d9c4547c59930796f4207e6749
1 <p>
2 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13500">http://bugs.webkit.org/show_bug.cgi?id=13500</a>
3 REGRESSION: Listbox scrollbar does not reflect actual scrolled position when selected option is added after layout</i>.
4 </p>
5 <p>
6 The list box should be scrolled all the way down, showing the selected option
7 &ldquo;Seven&rdquo;. The scroller should be at the bottom of the scroll bar
8 to reflect this.
9 </p>
10 <select size="4">
11 <option>One</option>
12 <option>Two</option>
13 <option>Three</option>
14 <option>Four</option>
15 <script>
16 document.body.offsetTop;
17 </script>
18 <option>Five</option>
19 <option>Six</option>
20 <option selected>Seven</option>
21 </select>