Descriptioninput/textarea: Count text length for maxLength check with the standard way.
We counted use-input text in grapheme cluster unit. i.e. A letter +
combining characters are counted as '1,' and a surrogate pair is counted
as '1.' According to the standard and other browsers, we shoudl count
them in UTF-16 code point unit.
BUG=148852
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=155803
Patch Set 1 #
Total comments: 2
Patch Set 2 : comment in a test #
Messages
Total messages: 5 (0 generated)
|