<head>
<title>This is a test for regression against https://bugs.webkit.org/show_bug.cgi?id=49790</title>
</head>

<body style="margin: 0;" onload="runRepaintTest()">
    <script>
        function repaintTest()
        {
            document.getElementById('option').style.backgroundColor = 'green';
        }
    </script>

    <script src="resources/repaint.js"></script>

    <p>This is a test for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=49790">https://bugs.webkit.org/show_bug.cgi?id=49790</a></p>

    <select multiple="multiple">
        <option id="option" value="A">A</option>
        <option id="option" value="B">B</option>
    </select>
</body>
