2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / WebCore / manual-tests / onsearch-enter.html
blobe6e15fea992f73637c1674082055ab217090784d
1 <html>
2 <body>
3 <input type="search" value="test" onsearch="document.getElementById('result').innerHTML='SUCCESS'">
4 <p>This tests that onsearch handlers for search fields are invoked correctly when pressing enter. To test this in Safari, focus the search field and press enter. The text below should change to SUCCESS.</p>
5 <div id="result">FAILURE</div>
6 </body>
7 </html>