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