diff options
Diffstat (limited to 'layout/reftests/css-submit-invalid/default-style/input-image.html')
-rw-r--r-- | layout/reftests/css-submit-invalid/default-style/input-image.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/css-submit-invalid/default-style/input-image.html b/layout/reftests/css-submit-invalid/default-style/input-image.html new file mode 100644 index 0000000000..1ab153bd2b --- /dev/null +++ b/layout/reftests/css-submit-invalid/default-style/input-image.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='image'> + </form> + </body> +</html> |