| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title></title> | 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> | 4 <style> |
| 13 select, button { display: block; height: 30px; width: 200px; } | 5 select, button { display: block; height: 30px; width: 200px; } |
| 14 select { -webkit-appearance: none; } | 6 select { -webkit-appearance: none; } |
| 15 </style> | 7 </style> |
| 16 </head> | 8 </head> |
| 17 <body onload="runRepaintTest()"> | 9 <body> |
| 18 <p> | 10 <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> | 11 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>. | 12 REGRESSION (r18819): Incomplete repaint of button text</i>. |
| 21 </p> | 13 </p> |
| 22 <p> | 14 <p> |
| 23 The popup and the button should say “SUCCESS” with no sign o
f “FAILURE”. | 15 The popup and the button should say “SUCCESS” with no sign o
f “FAILURE”. |
| 24 </p> | 16 </p> |
| 25 <select id="popup"> | 17 <select id="popup"> |
| 26 <option>FAILURE</option> | 18 <option selected>SUCCESS</option> |
| 27 <option>SUCCESS</option> | |
| 28 </select> | 19 </select> |
| 29 <button id="button">FAILURE</button> | 20 <button id="button">SUCCESS</button> |
| 30 </body> | 21 </body> |
| 31 </html> | 22 </html> |
| OLD | NEW |