Bug 148629

Summary: Incorrect cursor movement for U+26F9, U+1F3CB with variations
Product: WebKit Reporter: Enrica Casucci <enrica>
Component: HTML EditingAssignee: Enrica Casucci <enrica>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, rniwa
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: OS X 10.11   
Attachments:
Description Flags
Patch
buildbot: commit-queue-
Archive of layout-test-results from ews103 for mac-mavericks
none
Archive of layout-test-results from ews106 for mac-mavericks-wk2
none
Patch2 rniwa: review+

Enrica Casucci
Reported 2015-08-31 06:09:16 PDT
Attachments
Patch (18.52 KB, patch)
2015-08-31 06:32 PDT, Enrica Casucci
buildbot: commit-queue-
Archive of layout-test-results from ews103 for mac-mavericks (553.93 KB, application/zip)
2015-08-31 07:04 PDT, Build Bot
no flags
Archive of layout-test-results from ews106 for mac-mavericks-wk2 (614.53 KB, application/zip)
2015-08-31 07:09 PDT, Build Bot
no flags
Patch2 (11.81 KB, patch)
2015-08-31 07:27 PDT, Enrica Casucci
rniwa: review+
Enrica Casucci
Comment 1 2015-08-31 06:32:19 PDT
Build Bot
Comment 2 2015-08-31 07:04:50 PDT
Comment on attachment 260277 [details] Patch Attachment 260277 [details] did not pass mac-ews (mac): Output: http://webkit-queues.webkit.org/results/126263 New failing tests: editing/deleting/delete-emoji.html
Build Bot
Comment 3 2015-08-31 07:04:55 PDT
Created attachment 260278 [details] Archive of layout-test-results from ews103 for mac-mavericks The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: ews103 Port: mac-mavericks Platform: Mac OS X 10.9.5
Build Bot
Comment 4 2015-08-31 07:09:38 PDT
Comment on attachment 260277 [details] Patch Attachment 260277 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/126268 New failing tests: editing/deleting/delete-emoji.html
Build Bot
Comment 5 2015-08-31 07:09:44 PDT
Created attachment 260279 [details] Archive of layout-test-results from ews106 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews106 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
Enrica Casucci
Comment 6 2015-08-31 07:27:43 PDT
Ryosuke Niwa
Comment 7 2015-08-31 07:55:11 PDT
Comment on attachment 260280 [details] Patch2 View in context: https://bugs.webkit.org/attachment.cgi?id=260280&action=review > Source/WebCore/platform/text/TextBreakIterator.cpp:-450 > "$EmojiForSeqs = [\\u2764 \\U0001F441 \\U0001F466-\\U0001F469 \\U0001F48B \\U0001F5E8];" > - "$EmojiForMods = [\\u261D \\u270A-\\u270D \\U0001F385 \\U0001F3C3-\\U0001F3C4 \\U0001F3C7 \\U0001F3CA \\U0001F442-\\U0001F443 \\U0001F446-\\U0001F450 \\U0001F466-\\U0001F469 \\U0001F46E-\\U0001F478 \\U0001F47C \\U0001F481-\\U0001F483 \\U0001F485-\\U0001F487 \\U0001F4AA \\U0001F590 \\U0001F595 \\U0001F596 \\U0001F645-\\U0001F647 \\U0001F64B-\\U0001F64F \\U0001F6A3 \\U0001F6B4-\\U0001F6B6 \\U0001F6C0 \\U0001F918] ;" // Emoji that take Fitzpatrick modifiers Obviously not in this patch but is there a way to avoid duplicating the table here?
Enrica Casucci
Comment 8 2015-08-31 08:08:21 PDT
(In reply to comment #7) > Comment on attachment 260280 [details] > Patch2 > > View in context: > https://bugs.webkit.org/attachment.cgi?id=260280&action=review > > > Source/WebCore/platform/text/TextBreakIterator.cpp:-450 > > "$EmojiForSeqs = [\\u2764 \\U0001F441 \\U0001F466-\\U0001F469 \\U0001F48B \\U0001F5E8];" > > - "$EmojiForMods = [\\u261D \\u270A-\\u270D \\U0001F385 \\U0001F3C3-\\U0001F3C4 \\U0001F3C7 \\U0001F3CA \\U0001F442-\\U0001F443 \\U0001F446-\\U0001F450 \\U0001F466-\\U0001F469 \\U0001F46E-\\U0001F478 \\U0001F47C \\U0001F481-\\U0001F483 \\U0001F485-\\U0001F487 \\U0001F4AA \\U0001F590 \\U0001F595 \\U0001F596 \\U0001F645-\\U0001F647 \\U0001F64B-\\U0001F64F \\U0001F6A3 \\U0001F6B4-\\U0001F6B6 \\U0001F6C0 \\U0001F918] ;" // Emoji that take Fitzpatrick modifiers > > Obviously not in this patch but is there a way to avoid duplicating the > table here? I don't think so, but I don't know much about how ICU rules work, Peter makes the changes.
Enrica Casucci
Comment 9 2015-08-31 08:42:00 PDT
Committed revision 189167.
Note You need to log in before you can comment on or make changes to this bug.