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