WebCore/manual-tests/onsearch-enter.html
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Fri, 17 Sep 2010 09:02:29 +0300
changeset 0 4f2f89ce4247
permissions -rw-r--r--
Revision: 201037

<html>
<body>
    <input type="search" value="test" onsearch="document.getElementById('result').innerHTML='SUCCESS'">
    <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>    
    <div id="result">FAILURE</div>
</body>
</html>