summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/search/3.html
blob: 2e4ce9c8b5d3ad415f66252ac786de9aa3ec2a74 (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 search element -->
  <script type="text/javascript">
    function setToCheckbox()
    {
      document.getElementById('i').type = 'checkbox';
    }
    function disableReftestWait()
    {
      document.documentElement.className = '';
    }
  </script>

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