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

12 lines
503 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. -->
<!-- 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='valid' maxlength="2" id='t'></textarea>
</body>
</html>