gecko/layout/reftests/css-valid/fieldset/fieldset-invalid.html

13 lines
450 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: fieldset is always barred from constraint validation.
It should not be affected by :valid pseudo-class. -->
<style>
fieldset { background-color: green; }
fieldset:valid { background-color: red; }
</style>
<body onload="document.getElementById('f').setCustomValidity('foo'); document.documentElement.className='';">
<fieldset id='f'></fieldset>
</body>
</html>