summaryrefslogtreecommitdiffstats
path: root/WebCore/manual-tests/onsearch-enter.html
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 19:30:52 -0800
commit8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2 (patch)
tree11425ea0b299d6fb89c6d3618a22d97d5bf68d0f /WebCore/manual-tests/onsearch-enter.html
parent648161bb0edfc3d43db63caed5cc5213bc6cb78f (diff)
downloadexternal_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.zip
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.gz
external_webkit-8e35f3cfc7fba1d1c829dc557ebad6409cbe16a2.tar.bz2
auto import from //depot/cupcake/@135843
Diffstat (limited to 'WebCore/manual-tests/onsearch-enter.html')
-rw-r--r--WebCore/manual-tests/onsearch-enter.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/WebCore/manual-tests/onsearch-enter.html b/WebCore/manual-tests/onsearch-enter.html
new file mode 100644
index 0000000..e6e15fe
--- /dev/null
+++ b/WebCore/manual-tests/onsearch-enter.html
@@ -0,0 +1,7 @@
+<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>