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