summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-submit-invalid/input-image/remove-form.html
blob: 628694b8af3ca931edae54ad281c1a5fcbf5ee97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html class='reftest-wait'>
  <head>
    <style>
      :-moz-submit-invalid { display: none; }
    </style>
  </head>
  <script>
    function onloadHandler()
    {
      document.getElementById('t').removeChild(document.forms[0]);
      document.documentElement.className = '';
    }
  </script>
  <body onload='onloadHandler();'>
    <table id='t'>
      <form>
        <tr><td><input required></td></tr>
        <tr><td><input type='image'></td></tr>
      </form>
    </table>
  </body>
</html>