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

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