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

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