| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <title></title> | |
| 4 <script src="resources/text-based-repaint.js"></script> | |
| 5 <script> | |
| 6 function repaintTest() | |
| 7 { | |
| 8 document.getElementById("popup").selectedIndex = 1; | |
| 9 document.getElementById("button").innerText = "SUCCESS"; | |
| 10 } | |
| 11 </script> | |
| 12 <style> | |
| 13 select, button { display: block; height: 30px; width: 200px; } | |
| 14 select { -webkit-appearance: none; } | |
| 15 </style> | |
| 16 </head> | |
| 17 <body onload="runRepaintAndPixelTest()"> | |
| 18 <p> | |
| 19 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=13391">http:
//bugs.webkit.org/show_bug.cgi?id=13391</a> | |
| 20 REGRESSION (r18819): Incomplete repaint of button text</i>. | |
| 21 </p> | |
| 22 <p> | |
| 23 The popup and the button should say “SUCCESS” with no sign o
f “FAILURE”. | |
| 24 </p> | |
| 25 <select id="popup"> | |
| 26 <option>FAILURE</option> | |
| 27 <option>SUCCESS</option> | |
| 28 </select> | |
| 29 <button id="button">FAILURE</button> | |
| 30 </body> | |
| 31 </html> | |
| OLD | NEW |