search-field-cancel.html 662 B

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