summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-submit-invalid/input-submit/remove-form.html
blob: e33e79c59b10bdefb119e7c992d5a605c1d27972 (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='submit'></td></tr>
      </form>
    </table>
  </body>
</html>