The specification was updated by https://github.com/whatwg/html/commit/163703186794c21daa92cc2718218afa44f26071. Before the change, maxlength/minlength limits |value| length, not |API value| length. In <textarea>, a single linebreak is represented as CR LF in |value|, and LF in |API value|. Firefox and Edge incorrectly applied to |API value|, and WebKit and Blink correctly applied to |value|. But the specification followed Firefox and Edge.
Specification
Status in Chromium
Enabled by default (tracking bug) in:
- Chrome for desktop release 55
- Chrome for Android release 55
- Android WebView release 55
Consensus & Standardization
After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.
- Shipped/Shipping
- Shipped/Shipping
- No signal
- Mixed signals
Owner
Search tags
HTML, Forms,Last updated on 2020-11-09