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

Issue 1463893002: Ignore unicode-bidi: isolate for visual order elements (Closed)

Created:
5 years, 1 month ago by kojii
Modified:
4 years, 8 months ago
CC:
aharon, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, Roozbeh, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ignore unicode-bidi: isolate for visual order elements This patch makes visual order elements to ignore bidi-isolate[1]. As a result, such elements with unicode-bidi: isolate no longer bidi-reorder their content. The behavior of bidi-isolate for visual order (iso-8859-8) is not well defined. It is reasonable to ignore bidi-isolate, however, given visual order documents ignore dir attributes today. Without this fix, when bidi-isolate is turned on by default in crbug.com/391260, dir attributes start to effect, which is likely to break web-compat. [1] https://drafts.csswg.org/css-writing-modes-3/#bidi-isolate BUG=559257 Committed: https://crrev.com/a92fdd6a08d474d8fb27f69970e541442a5ad0c4 Cr-Commit-Position: refs/heads/master@{#361283}

Patch Set 1 #

Patch Set 2 : Compare with LogicalOrder (0) should be faster #

Patch Set 3 : Update -expected #

Total comments: 1

Patch Set 4 : Renamed to treatAsIsolated() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -7 lines) Patch
M third_party/WebKit/LayoutTests/fast/text/bidi-reverse-runs-crash-expected.txt View 1 2 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/international/iso-8859-8-and-isolate.html View 1 2 3 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/text/international/iso-8859-8-and-isolate-expected.html View 1 2 3 1 chunk +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/BidiRunForLine.cpp View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/line/InlineIterator.h View 1 2 3 5 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 21 (9 generated)
kojii
PTAL. Got offline confirmation from Aharon.
5 years, 1 month ago (2015-11-22 10:23:48 UTC) #4
leviw_travelin_and_unemployed
Small naming concern, but otherwise this lgtm https://codereview.chromium.org/1463893002/diff/40001/third_party/WebKit/Source/core/layout/line/InlineIterator.h File third_party/WebKit/Source/core/layout/line/InlineIterator.h (right): https://codereview.chromium.org/1463893002/diff/40001/third_party/WebKit/Source/core/layout/line/InlineIterator.h#newcode133 third_party/WebKit/Source/core/layout/line/InlineIterator.h:133: static inline ...
5 years, 1 month ago (2015-11-23 19:27:53 UTC) #7
kojii
Thank you for your prompt review. On 2015/11/23 at 19:27:53, leviw wrote: > Small naming ...
5 years, 1 month ago (2015-11-24 00:53:01 UTC) #8
leviw_travelin_and_unemployed
On 2015/11/24 at 00:53:01, kojii wrote: > Thank you for your prompt review. > > ...
5 years, 1 month ago (2015-11-24 01:13:14 UTC) #9
eae
LGTM (once you've addressed levi's naming concern).
5 years, 1 month ago (2015-11-24 01:31:39 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463893002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463893002/60001
5 years, 1 month ago (2015-11-24 05:14:18 UTC) #13
kojii
On 2015/11/24 01:13:14, leviw wrote: > On 2015/11/24 at 00:53:01, kojii wrote: > > Thank ...
5 years, 1 month ago (2015-11-24 05:15:01 UTC) #14
leviw_travelin_and_unemployed
> Picked "treatAsIsolated", thank you for the suggestion. Awesome! Thanks for another good patch :)
5 years, 1 month ago (2015-11-24 06:07:22 UTC) #15
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/133509)
5 years, 1 month ago (2015-11-24 06:56:01 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1463893002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1463893002/60001
5 years, 1 month ago (2015-11-24 07:46:05 UTC) #19
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 1 month ago (2015-11-24 08:13:57 UTC) #20
commit-bot: I haz the power
5 years, 1 month ago (2015-11-24 08:14:43 UTC) #21
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a92fdd6a08d474d8fb27f69970e541442a5ad0c4
Cr-Commit-Position: refs/heads/master@{#361283}

Powered by Google App Engine
This is Rietveld 408576698