summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/url/3.html
blob: b9f13924a6e2e7b297c92670318118c85ddd822c (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 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>