mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
fe6139c017
--HG-- extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
16 lines
415 B
HTML
16 lines
415 B
HTML
<!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>
|
|
|