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

Issue 2676883002: [LayoutNG] Avoid creating empty LineBoxData in NGLineBuilder (Closed)

Created:
3 years, 10 months ago by kojii
Modified:
3 years, 10 months ago
Reviewers:
eae
CC:
atotic+reviews_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, cbiesinger, chromium-reviews, dgrogan+ng_chromium.org, eae+blinkwatch, glebl+reviews_chromium.org, jchaffraix+rendering, leviw+renderwatch, ojan+watch_chromium.org, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] Avoid creating empty LineBoxData in NGLineBuilder Empty LineBoxData produces empty BidiRunList, which confuses LayoutBlockFlow::constructLine() in CopyFragmentDataToLayoutBlockFlow(). There are cases where we need empty line boxes, such as when the caret is set while editing. Such cases need to be revisited in future. This is part of the effort to layout Wikipedia main page[1] with LayoutNGInline runtime flag enabled. [1] https://en.wikipedia.org/wiki/Main_Page BUG=636993 Review-Url: https://codereview.chromium.org/2676883002 Cr-Commit-Position: refs/heads/master@{#448099} Committed: https://chromium.googlesource.com/chromium/src/+/827d43cc4695df6291f3f30dade899aaf93665fd

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -8 lines) Patch
M third_party/WebKit/Source/core/layout/ng/ng_line_builder.cc View 1 chunk +10 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (9 generated)
kojii
PTAL.
3 years, 10 months ago (2017-02-03 19:59:10 UTC) #5
eae
LGTM
3 years, 10 months ago (2017-02-03 20:53:52 UTC) #6
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/2676883002/1
3 years, 10 months ago (2017-02-03 21:44:02 UTC) #10
commit-bot: I haz the power
3 years, 10 months ago (2017-02-03 22:49:04 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/827d43cc4695df6291f3f30dade8...

Powered by Google App Engine
This is Rietveld 408576698