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

11 lines
307 B
HTML

<!DOCTYPE html>
<html>
<!-- Test: if textarea is valid and is not barred from constraint validation,
it should be affected by :valid pseudo-class. -->
<link rel='stylesheet' type='text/css' href='style.css'>
<body>
<textarea class='valid' maxlength="2"></textarea>
</body>
</html>