gecko/layout/reftests/css-valid/select/select-dyn-not-disabled.html

13 lines
466 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if select is not disabled, it is candidate for constraint validation
and should be affected by :valid pseudo-class. -->
<style>
select { background-color: red; }
select:valid { background-color: green; }
</style>
<body onload="document.getElementById('s').removeAttribute('disabled'); document.documentElement.className='';">
<select id='s' disabled></select>
</body>
</html>