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

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