blob: afc70c124c617b02f1e5fb754bbfdfa42f26ba72 [file] [log] [blame]
<html>
<head>
<title></title>
</head>
<body>
<p>
Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=12986">http://bugs.webkit.org/show_bug.cgi?id=12986</a>
REGRESSION(NativeListBox): Listboxes not updated when resized dynamically</i>.
</p>
<p>
This list box should be tall enough to fit 6 options.
</p>
<select id="target" size="4">
<option>One</option>
<option>Two</option>
<option>Three</option>
<option>Four</option>
<option>Five</option>
<option>Six</option>
</select>
<script>
document.body.offsetTop;
document.getElementById("target").size = 6;
</script>
</body>
</html>