summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/url/2.html
blob: 58302d278f8d9cc00af7ee8be33298c87511b0e4 (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 url state looks like in text state -->
  <script type="text/javascript">
    function setToURL()
    {
      document.getElementById('i').type = 'url';
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

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