<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>
