blob: d69bcd0c5523b1d9c4547c59930796f4207e6749 [file] [log] [blame]
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13500">http://bugs.webkit.org/show_bug.cgi?id=13500</a>
REGRESSION: Listbox scrollbar does not reflect actual scrolled position when selected option is added after layout</i>.
</p>
<p>
The list box should be scrolled all the way down, showing the selected option
&ldquo;Seven&rdquo;. The scroller should be at the bottom of the scroll bar
to reflect this.
</p>
<select size="4">
<option>One</option>
<option>Two</option>
<option>Three</option>
<option>Four</option>
<script>
document.body.offsetTop;
</script>
<option>Five</option>
<option>Six</option>
<option selected>Seven</option>
</select>