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

Issue 2473863003: Fix BiDi directionality for surrogate pair characters (Closed)

Created:
4 years, 1 month ago by kojii
Modified:
4 years, 1 month ago
Reviewers:
eae
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix BiDi directionality for surrogate pair characters This patch fixes BiDi directionality for non-BMP (surrogate pair) characters. LayoutText::codepointAt was changed to use ICU U16_GET function that can compute even when the index is at the mid of a surrogate pair. Rebaseline incorrect expected for svg/text/surrogate-pair-queries.html BUG=488904 Committed: https://crrev.com/ea599b0be3e912060db3a4a2b3bf2510c114775c Cr-Commit-Position: refs/heads/master@{#429790}

Patch Set 1 #

Patch Set 2 : Align index check behavior of codepointAt to characterAt #

Patch Set 3 : Rebaseline svg/text/surrogate-pair-queries.html #

Total comments: 2

Patch Set 4 : eae review: add </td> and </tr> to tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -7 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair-expected.html View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutText.h View 1 2 1 chunk +7 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineIterator.h View 1 2 chunks +13 lines, -1 line 0 comments Download

Messages

Total messages: 33 (27 generated)
kojii
PTAL.
4 years, 1 month ago (2016-11-03 15:49:53 UTC) #20
eae
LGTM https://codereview.chromium.org/2473863003/diff/60001/third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html File third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html (right): https://codereview.chromium.org/2473863003/diff/60001/third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html#newcode5 third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html:5: <td>Avestan You might want to close the <td> ...
4 years, 1 month ago (2016-11-03 16:01:10 UTC) #22
kojii
Thank you for prompt review as always. https://codereview.chromium.org/2473863003/diff/60001/third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html File third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html (right): https://codereview.chromium.org/2473863003/diff/60001/third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html#newcode5 third_party/WebKit/LayoutTests/fast/text/international/bidi-surrogate-pair.html:5: <td>Avestan On ...
4 years, 1 month ago (2016-11-04 01:26:59 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2473863003/80001
4 years, 1 month ago (2016-11-04 01:27:34 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:80001)
4 years, 1 month ago (2016-11-04 05:15:18 UTC) #31
commit-bot: I haz the power
4 years, 1 month ago (2016-11-04 05:19:00 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ea599b0be3e912060db3a4a2b3bf2510c114775c
Cr-Commit-Position: refs/heads/master@{#429790}

Powered by Google App Engine
This is Rietveld 408576698