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

12 lines
506 B
HTML

<!DOCTYPE html>
<html class="reftest-wait">
<!-- Test: if textarea isn't valid nor barred from constraint validation,
it should be affected by :invalid pseudo-class. -->
<!-- TODO: this is valid until bug bug 613016 and bug 613019 are fixed. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body onload="document.getElementById('t').value='foo'; document.documentElement.className='';">
<textarea class='notinvalid' maxlength="2" id='t'></textarea>
</body>
</html>