blob: 3aabe993292038bcb9a3d38a1d49d3c7343e99c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<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
“Seven”. 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;
testRunner.waitUntilDone();
setTimeout('testRunner.notifyDone();', 0);
</script>
<option>Five</option>
<option>Six</option>
<option selected>Seven</option>
</select>
|