summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/search/3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/search/3.html')
-rw-r--r--layout/reftests/forms/input/search/3.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/search/3.html b/layout/reftests/forms/input/search/3.html
new file mode 100644
index 000000000..2e4ce9c8b
--- /dev/null
+++ b/layout/reftests/forms/input/search/3.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+ <!-- Test: when switching to another type, the input element should not look
+ like an input search element -->
+ <script type="text/javascript">
+ function setToCheckbox()
+ {
+ document.getElementById('i').type = 'checkbox';
+ }
+ function disableReftestWait()
+ {
+ document.documentElement.className = '';
+ }
+ </script>
+
+ <body onload="setToCheckbox(); disableReftestWait();">
+ <input type='search' id='i'>
+ </body>
+</html>