summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/url/3.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/url/3.html')
-rw-r--r--layout/reftests/forms/input/url/3.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/url/3.html b/layout/reftests/forms/input/url/3.html
new file mode 100644
index 000000000..b9f13924a
--- /dev/null
+++ b/layout/reftests/forms/input/url/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 url element -->
+ <script type="text/javascript">
+ function setToCheckbox()
+ {
+ document.getElementById('i').type='checkbox';
+ }
+ function disableReftestWait()
+ {
+ document.documentElement.className = '';
+ }
+ </script>
+
+ <body onload="setToCheckbox(); disableReftestWait();">
+ <input type='url' id='i'>
+ </body>
+</html>