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