blob: 27ac7dfb6e6a0e949b61b1f70045fcd95c8db182 [file] [log] [blame]
<html>
<head>
<title></title>
<script src="resources/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="runRepaintTest()">
<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>