| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <title>Cancel button redraw</title> | 3 <title>Cancel button redraw</title> |
| 4 <style type="text/css"> | 4 <style type="text/css"> |
| 5 #searchfield { | 5 #searchfield { |
| 6 } | 6 } |
| 7 </style> | 7 </style> |
| 8 <script src="resources/text-based-repaint.js" type="text/javascript" charset="
utf-8"></script> | 8 <script src="resources/text-based-repaint.js" type="text/javascript" charset="
utf-8"></script> |
| 9 <script type="text/javascript" charset="utf-8"> | 9 <script type="text/javascript" charset="utf-8"> |
| 10 function repaintTest() | 10 function repaintTest() |
| 11 { | 11 { |
| 12 document.getElementById('searchfield').value = 'some text'; | 12 document.getElementById('searchfield').value = 'some text'; |
| 13 } | 13 } |
| 14 </script> | 14 </script> |
| 15 </head> | 15 </head> |
| 16 <body onload="runRepaintTest()"> | 16 <body onload="runRepaintAndPixelTest()"> |
| 17 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=23093">https://bu
gs.webkit.org/show_bug.cgi?id=23093</a>. The cancel button in a search field fai
ls to redraw.</p> | 17 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=23093">https://bu
gs.webkit.org/show_bug.cgi?id=23093</a>. The cancel button in a search field fai
ls to redraw.</p> |
| 18 <input id="searchfield" type="search"> | 18 <input id="searchfield" type="search"> |
| 19 </body> | 19 </body> |
| 20 </html> | 20 </html> |
| OLD | NEW |