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

Issue 23264018: unicode-bidi: plaintext is treating embedded unicode-bidi: isolate incorrectly. (Closed)

Created:
7 years, 4 months ago by igoroliveira
Modified:
7 years, 4 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, jww
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

unicode-bidi: plaintext is treating embedded unicode-bidi: isolate incorrectly. In the CSS Writing Modes specification: for the purpose of bidi resolution in its containing bidi paragraph, the sequence is treated as if it were a single Object Replacement Character (U+FFFC). However Blink does not treat the isolated sequence as if it were a U+UFFFC. This patch adds a new method called bidiFirstSkippingIsolated that is used to get the first nested bidi not isolated. BUG=276642 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156517

Patch Set 1 #

Total comments: 2

Patch Set 2 : Proposed patch #

Patch Set 3 : Proposed patch #

Total comments: 1

Patch Set 4 : Patch for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -6 lines) Patch
A LayoutTests/fast/text/international/unicode-bidi-plaintext-around-inline-isolate.html View 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-around-inline-isolate-expected.html View 1 chunk +30 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-around-inline-plaintext.html View 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-around-inline-plaintext-expected.html View 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-inline-around-inline-isolate.html View 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-inline-around-inline-isolate-expected.html View 1 chunk +29 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-inline-around-inline-plaintext.html View 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-inline-around-inline-plaintext-expected.html View 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-nested-isolate-neutral.html View 1 2 1 chunk +33 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/international/unicode-bidi-plaintext-nested-isolate-neutral-expected.html View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 2 3 5 chunks +58 lines, -6 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
igoroliveira
7 years, 4 months ago (2013-08-20 21:26:20 UTC) #1
igoroliveira
Added new OWNERS.
7 years, 4 months ago (2013-08-20 22:51:02 UTC) #2
eseidel
I'm OK with this. I'd like to hear your thoughts on the design tradeoff of ...
7 years, 4 months ago (2013-08-20 23:01:37 UTC) #3
igoroliveira
On 2013/08/20 23:01:37, eseidel wrote: > I'm OK with this. I'd like to hear your ...
7 years, 4 months ago (2013-08-21 01:06:31 UTC) #4
eseidel
7 years, 4 months ago (2013-08-21 01:45:36 UTC) #5
leviw_travelin_and_unemployed
https://codereview.chromium.org/23264018/diff/1/Source/core/rendering/RenderBlockLineLayout.cpp File Source/core/rendering/RenderBlockLineLayout.cpp (right): https://codereview.chromium.org/23264018/diff/1/Source/core/rendering/RenderBlockLineLayout.cpp#newcode347 Source/core/rendering/RenderBlockLineLayout.cpp:347: static inline RenderObject* bidiFirstSkippingIsolated(RenderObject* root, RenderObject* current = 0) ...
7 years, 4 months ago (2013-08-21 02:04:37 UTC) #6
igoroliveira
On 2013/08/21 02:04:37, Levi wrote: > https://codereview.chromium.org/23264018/diff/1/Source/core/rendering/RenderBlockLineLayout.cpp > File Source/core/rendering/RenderBlockLineLayout.cpp (right): > > https://codereview.chromium.org/23264018/diff/1/Source/core/rendering/RenderBlockLineLayout.cpp#newcode347 > ...
7 years, 4 months ago (2013-08-21 02:41:14 UTC) #7
igoroliveira
7 years, 4 months ago (2013-08-21 03:29:12 UTC) #8
aharon
I think that Eric was asking for my two cents, although I am not 100% ...
7 years, 4 months ago (2013-08-21 06:48:35 UTC) #9
eseidel
On 2013/08/21 06:48:35, aharon wrote: > I think that Eric was asking for my two ...
7 years, 4 months ago (2013-08-21 20:50:46 UTC) #10
eseidel
https://codereview.chromium.org/23264018/diff/15001/Source/core/rendering/RenderBlockLineLayout.cpp File Source/core/rendering/RenderBlockLineLayout.cpp (right): https://codereview.chromium.org/23264018/diff/15001/Source/core/rendering/RenderBlockLineLayout.cpp#newcode349 Source/core/rendering/RenderBlockLineLayout.cpp:349: RenderObject* next = current; OK, so Levi's suggestion was ...
7 years, 4 months ago (2013-08-21 20:52:29 UTC) #11
eseidel
lgtm with it broken back out with a descriptive name. "bidiFirst" is a meaningless prefix ...
7 years, 4 months ago (2013-08-21 20:55:11 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/igor.o@sisa.samsung.com/23264018/22001
7 years, 4 months ago (2013-08-21 22:30:00 UTC) #13
commit-bot: I haz the power
7 years, 4 months ago (2013-08-22 00:17:45 UTC) #14
Message was sent while issue was closed.
Change committed as 156517

Powered by Google App Engine
This is Rietveld 408576698