gecko/layout/reftests/css-valid/textarea/textarea-maxlength-invalid.html

11 lines
428 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if textarea isn't valid nor barred from constraint validation,
it should not be affected by :valid pseudo-class. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('t').value='foo'; document.documentElement.className='';">
<textarea class='notvalid' maxlength="2" id='t'></textarea>
</body>
</html>