|
|
Chromium Code Reviews
DescriptionFix 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 #
Messages
Total messages: 47 (21 generated)
The CQ bit was checked by drott@chromium.org to run a CQ dry run
drott@chromium.org changed reviewers: + eae@chromium.org, kojii@chromium.org, leviw@chromium.org
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
LGTM++
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
Windows build fix, removing u8, MSVC does not understand those
The CQ bit was checked by drott@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from eae@chromium.org Link to the patchset: https://codereview.chromium.org/1779693003/#ps20001 (title: "Windows build fix, removing u8, MSVC does not understand those")
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by drott@chromium.org
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
Fix out of bounds access in tests
The CQ bit was checked by drott@chromium.org to run a CQ dry run
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
eae@, if you have a moment to take another look, after the ASAN bot failure alarm, I have to clamp triggerPos to the string length in the test, also I removed the final assertion that was looking past the string length. I checked that the tests still work reliably as regression tests.
LGTM
The CQ bit was unchecked by eae@chromium.org
The CQ bit was checked by eae@chromium.org
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by eae@chromium.org
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
The CQ bit was checked by drott@chromium.org
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
The CQ bit was unchecked by commit-bot@chromium.org
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_...)
Rebased
The CQ bit was checked by drott@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from eae@chromium.org Link to the patchset: https://codereview.chromium.org/1779693003/#ps60001 (title: "Rebased")
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
The CQ bit was unchecked by commit-bot@chromium.org
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_androi...)
The CQ bit was checked by drott@chromium.org
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
Message was sent while issue was closed.
Committed patchset #4 (id:60001)
Message was sent while issue was closed.
Description was changed from ========== 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 ========== to ========== 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} ==========
Message was sent while issue was closed.
Patchset 4 (id:??) landed as https://crrev.com/950933340685436d8d1d7b8f9d7767e95bcf96a6 Cr-Commit-Position: refs/heads/master@{#380619} |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
