Bug 27396

Summary: Moving cursor in Thai text sometimes jumps over two characters
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: HTML EditingAssignee: Alexey Proskuryakov <ap>
Status: RESOLVED FIXED    
Severity: Normal CC: hbono
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
proposed fix mitz: review+

Alexey Proskuryakov
Reported 2009-07-17 16:02:08 PDT
This is very similar to bug 24342, but happens for different characters. Moving insertion point left or right shouldn't jump over several glyphs, even if those form an extended grapheme cluster. ICU has a special case for those Thai characters now, see <http://source.icu-project.org/repos/icu/icu/trunk/source/data/brkitr/char_th.txt>. We should do the same. Patch with a test forthcoming.
Attachments
proposed fix (5.03 KB, patch)
2009-07-17 16:05 PDT, Alexey Proskuryakov
mitz: review+
Alexey Proskuryakov
Comment 1 2009-07-17 16:05:27 PDT
Created attachment 32987 [details] proposed fix
Alexey Proskuryakov
Comment 2 2009-07-17 16:09:33 PDT
mitz
Comment 3 2009-07-17 16:16:04 PDT
Comment on attachment 32987 [details] proposed fix r=me if you add a description and the Radar link to the change log
Alexey Proskuryakov
Comment 4 2009-07-17 16:22:54 PDT
Note You need to log in before you can comment on or make changes to this bug.