How we built it

Update <textarea maxlength/minlength> behavior for linebreaks

The specification was updated by 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.


Working draft or equivalent

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 55
  • Chrome for Android release 55
  • Android WebView release 55
  • Opera release 42
  • Opera for Android release 42

Consensus & Standardization

  • Shipped
  • Shipped
  • No public signals
  • Mixed signals


Last updated on 2016-09-28