summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/tel/3.html
blob: c1348e6f7d0d4e2060ddc86004feea86a7ab4555 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<html class="reftest-wait">
  <!-- Test: when switching to another type, the input element should not look
             like an input tel element -->
  <script type="text/javascript">
    function setToCheckbox()
    {
      document.getElementById('i').type='checkbox';
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

  <body onload="setToCheckbox(); disableReftestWait();">
    <input type='tel' id='i'>
  </body>
</html>