diff options
Diffstat (limited to 'layout/reftests/css-submit-invalid/button-submit/remove-form.html')
-rw-r--r-- | layout/reftests/css-submit-invalid/button-submit/remove-form.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/css-submit-invalid/button-submit/remove-form.html b/layout/reftests/css-submit-invalid/button-submit/remove-form.html new file mode 100644 index 000000000..a54329714 --- /dev/null +++ b/layout/reftests/css-submit-invalid/button-submit/remove-form.html @@ -0,0 +1,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> |