gecko-dev/layout/base/tests/textarea-minlength-valid-before-change.html

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

16 lines
415 B
HTML
Raw Normal View History

<!DOCTYPE HTML>
<html>
<!-- Test: textarea with minlength is valid until the user edits it, even if it's too short -->
<head>
<style>
:valid { background-color:green; }
:invalid { background-color:red; }
* { background-color:white; }
</style>
</head>
<body onload="document.documentElement.className=''">
<textarea id="textarea" minlength="5">foo</textarea>
</body>
</html>