Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(406)

Issue 1779693003: Fix emoji ZWJ and modifier sequence line breaking (Closed)

Created:
4 years, 9 months ago by drott
Modified:
4 years, 9 months ago
CC:
blink-reviews, chromium-reviews, kinuko+watch
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix emoji ZWJ and modifier sequence line breaking Line breaking positions returned from ICU would allow us to break emoji sequences in the middle, leading to part of the sequence being shown as the fallback emoji on the first line, the other part on the second line. Until ICU implements this behavior we customize the line breaking and reject those break suggestions. Original isBreakValid implementation by Raph Levien, adapted to Blink with permission, thank you! BUG=593263 TEST=TextBreakIterator* unit tests in blink_platform_unittests Committed: https://crrev.com/950933340685436d8d1d7b8f9d7767e95bcf96a6 Cr-Commit-Position: refs/heads/master@{#380619}

Patch Set 1 #

Patch Set 2 : Windows build fix, removing u8, MSVC does not understand those #

Patch Set 3 : Fix out of bounds access in tests #

Patch Set 4 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+154 lines, -2 lines) Patch
M third_party/WebKit/Source/platform/blink_platform.gypi View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/platform/text/TextBreakIterator.cpp View 4 chunks +54 lines, -2 lines 0 comments Download
A third_party/WebKit/Source/platform/text/TextBreakIteratorTest.cpp View 1 2 1 chunk +99 lines, -0 lines 0 comments Download

Messages

Total messages: 47 (21 generated)
drott
4 years, 9 months ago (2016-03-09 19:21:46 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/1
4 years, 9 months ago (2016-03-09 19:22:08 UTC) #4
eae
LGTM++
4 years, 9 months ago (2016-03-09 19:31:45 UTC) #5
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/186545)
4 years, 9 months ago (2016-03-09 20:07:55 UTC) #7
drott
Windows build fix, removing u8, MSVC does not understand those
4 years, 9 months ago (2016-03-10 08:07:57 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/20001
4 years, 9 months ago (2016-03-10 08:08:17 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/194485)
4 years, 9 months ago (2016-03-10 09:01:02 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/20001
4 years, 9 months ago (2016-03-10 09:39:12 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/128599)
4 years, 9 months ago (2016-03-10 11:09:38 UTC) #17
drott
Fix out of bounds access in tests
4 years, 9 months ago (2016-03-10 17:48:36 UTC) #18
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/40001
4 years, 9 months ago (2016-03-10 17:50:13 UTC) #20
drott
eae@, if you have a moment to take another look, after the ASAN bot failure ...
4 years, 9 months ago (2016-03-10 17:51:55 UTC) #21
eae
LGTM
4 years, 9 months ago (2016-03-10 18:23:13 UTC) #22
drott
4 years, 9 months ago (2016-03-10 18:23:35 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/40001
4 years, 9 months ago (2016-03-10 18:24:02 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179422)
4 years, 9 months ago (2016-03-10 18:54:28 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/40001
4 years, 9 months ago (2016-03-10 20:02:04 UTC) #30
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179538)
4 years, 9 months ago (2016-03-10 21:29:27 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/40001
4 years, 9 months ago (2016-03-10 21:41:38 UTC) #34
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/179618)
4 years, 9 months ago (2016-03-10 22:57:54 UTC) #36
drott
Rebased
4 years, 9 months ago (2016-03-11 06:58:40 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/60001
4 years, 9 months ago (2016-03-11 06:59:06 UTC) #40
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/37074)
4 years, 9 months ago (2016-03-11 08:18:05 UTC) #42
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779693003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779693003/60001
4 years, 9 months ago (2016-03-11 12:22:41 UTC) #44
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 9 months ago (2016-03-11 13:35:00 UTC) #45
commit-bot: I haz the power
4 years, 9 months ago (2016-03-11 13:36:08 UTC) #47
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/950933340685436d8d1d7b8f9d7767e95bcf96a6
Cr-Commit-Position: refs/heads/master@{#380619}

Powered by Google App Engine
This is Rietveld 408576698