diff options
Diffstat (limited to 'layout/reftests/css-submit-invalid/default-style/input-submit.html')
-rw-r--r-- | layout/reftests/css-submit-invalid/default-style/input-submit.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/css-submit-invalid/default-style/input-submit.html b/layout/reftests/css-submit-invalid/default-style/input-submit.html new file mode 100644 index 000000000..ccc37dff4 --- /dev/null +++ b/layout/reftests/css-submit-invalid/default-style/input-submit.html @@ -0,0 +1,21 @@ +<!DOCTYPE> +<html class="reftest-wait"> + <style> + input:invalid { + display: none; + } + </style> + <script> + function onloadHandler() + { + document.getElementById('e').setCustomValidity('foo'); + document.documentElement.className=''; + } + </script> + <body onload="onloadHandler();"> + <form> + <input id='e'> + <input type='submit'> + </form> + </body> +</html> |