summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/search/2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/search/2.html')
-rw-r--r--layout/reftests/forms/input/search/2.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/search/2.html b/layout/reftests/forms/input/search/2.html
new file mode 100644
index 000000000..9c1f4151a
--- /dev/null
+++ b/layout/reftests/forms/input/search/2.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <!-- Test: input element in search state looks like in text state -->
+ <script type="text/javascript">
+ function setToSearch()
+ {
+ document.getElementById('i').type = 'search';
+ }
+ function disableReftestWait()
+ {
+ document.documentElement.className = '';
+ }
+ </script>
+
+ <body onload="setToSearch(); disableReftestWait();">
+ <input type='checkbox' id='i'>
+ </body>
+</html>