chromium/third_party/blink/web_tests/paint/invalidation/clip/control-clip.html

<html>
<head>
    <title></title>
    <script src="../resources/text-based-repaint.js"></script>
    <script>
        function repaintTest()
        {
            document.getElementById("popup").selectedIndex = 1;
            document.getElementById("button").innerText = "SUCCESS";
        }
    </script>
    <style>
        select, button { display: block; height: 30px; width: 200px; }
        select { -webkit-appearance: none; }
    </style>
</head>
<body onload="runRepaintAndPixelTest()">
    <p>
        Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13391">http://bugs.webkit.org/show_bug.cgi?id=13391</a>
        REGRESSION (r18819): Incomplete repaint of button text</i>.
    </p>
    <p>
        The popup and the button should say &ldquo;SUCCESS&rdquo; with no sign of &ldquo;FAILURE&rdquo;.
    </p>
    <select id="popup">
        <option>FAILURE</option>
        <option>SUCCESS</option>
    </select>
    <button id="button">FAILURE</button>
</body>
</html>