summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/tel/2.html
blob: 47b530bfe501b273ff70c9688ad1a4cc52616c6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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>