gecko/layout/reftests/css-invalid/textarea/textarea-dyn-not-readonly.html

10 lines
459 B
HTML
Raw Normal View History

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if textarea is no longer readonly, it is candidate for constraint
validation and should be affected by :invalid pseudo-class. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('t').removeAttribute('readonly'); document.documentElement.className='';">
<textarea class='invalid' id='t' readonly required></textarea>
</body>
</html>