diff options
Diffstat (limited to 'layout/reftests/css-valid/fieldset/fieldset-invalid.html')
-rw-r--r-- | layout/reftests/css-valid/fieldset/fieldset-invalid.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/css-valid/fieldset/fieldset-invalid.html b/layout/reftests/css-valid/fieldset/fieldset-invalid.html new file mode 100644 index 000000000..139f4d4fa --- /dev/null +++ b/layout/reftests/css-valid/fieldset/fieldset-invalid.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html class="reftest-wait"> + <!-- Test: fieldset undergoes constraint validation. + It should be affected by :invalid pseudo-class. --> + <style> + fieldset:invalid { display: none; } + </style> + <body onload="document.getElementById('f').setCustomValidity('foo'); document.documentElement.className='';"> + <fieldset> + <input id='f'> + </fieldset> + </body> +</html> |