RESOLVED FIXED 7622
REGRESSION: New text fields should compute maxlength considering composed character sequences
https://bugs.webkit.org/show_bug.cgi?id=7622
Summary REGRESSION: New text fields should compute maxlength considering composed cha...
Adele Peterson
Reported 2006-03-05 21:39:32 PST
New text fields should compute maxlength considering composed character sequences. See comments in http://bugzilla.opendarwin.org/show_bug.cgi?id=6987
Attachments
patch, including change log and a layout test (94.39 KB, patch)
2006-04-08 17:03 PDT, Darin Adler
bdakin: review+
Adele Peterson
Comment 1 2006-03-29 17:50:26 PST
Bumping to P1 since this causes a text field regression
Maciej Stachowiak
Comment 2 2006-04-02 23:25:36 PDT
These are all text field regressions so they should all be P1.
Darin Adler
Comment 3 2006-04-07 18:32:40 PDT
The API for this is in ICU, in <unicode/ubrk.h>. If we use a UBRK_CHARACTER iterator, then we can find characer boundaries. I think I'll tackle this.
Darin Adler
Comment 4 2006-04-07 22:01:01 PDT
I've got the fix for this written; just need to write some layout tests. I also fixed a regression where changing maxlength would not immediately truncate the value that's already in the text field.
Darin Adler
Comment 5 2006-04-08 17:03:31 PDT
Created attachment 7587 [details] patch, including change log and a layout test
Note You need to log in before you can comment on or make changes to this bug.