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

Issue 2867293002: [LayoutNG] Compute baseline from fragment tree (Closed)

Created:
3 years, 7 months ago by kojii
Modified:
3 years, 5 months ago
Reviewers:
cbiesinger, ikilpatrick, 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/heads/master
Project:
chromium
Visibility:
Public.

Description

[LayoutNG] Compute baseline from fragment tree This patch computes baseline from fragment tree. Design doc: https://docs.google.com/a/chromium.org/document/d/1ukrQxkSKMuU1lW2XaQMzgRlsurBjkxZxAq028EbhFjo/edit?usp=sharing BUG=636993 Review-Url: https://codereview.chromium.org/2867293002 Cr-Commit-Position: refs/heads/master@{#485889} Committed: https://chromium.googlesource.com/chromium/src/+/f66aae2d690ff7d3d22bfd086a203bb5e9ce80a4

Patch Set 1 #

Patch Set 2 : WIP #

Patch Set 3 : WIP #

Patch Set 4 : Add NGBaselineSource #

Patch Set 5 : Remove changes to NGBoxFragment #

Patch Set 6 : WIP #

Patch Set 7 : Fix crash #

Patch Set 8 : Rebase onto border/padding fix + cleanup #

Patch Set 9 : WIP #

Patch Set 10 : WIP #

Patch Set 11 : Add BaselineSourceType to NGPhysicalBoxFragment #

Patch Set 12 : Remove margins #

Patch Set 13 : Cleanup #

Patch Set 14 : WIP: request + store in fragment #

Patch Set 15 : WIP #

Patch Set 16 : WIP #

Patch Set 17 : WIP #

Patch Set 18 : Cleanup #

Total comments: 11
Unified diffs Side-by-side diffs Delta from patch set Stats (+436 lines, -41 lines) Patch
M third_party/WebKit/Source/core/layout/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +15 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -12 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/inline/ng_baseline.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +45 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/core/layout/ng/inline/ng_baseline.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +42 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 5 chunks +53 lines, -16 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_line_breaker.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +16 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_physical_line_box_fragment.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_physical_line_box_fragment.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +13 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +53 lines, -0 lines 4 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +55 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +38 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 4 chunks +9 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 3 chunks +15 lines, -2 lines 3 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 5 chunks +8 lines, -0 lines 4 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +9 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 2 chunks +12 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (15 generated)
cbiesinger
I know you haven't sent this for review yet but I really think this has ...
3 years, 7 months ago (2017-05-11 19:57:12 UTC) #4
kojii
On 2017/05/11 at 19:57:12, cbiesinger wrote: > I know you haven't sent this for review ...
3 years, 7 months ago (2017-05-11 22:25:17 UTC) #5
kojii
The primary purpose of this CL is to complement the doc and to discuss how ...
3 years, 5 months ago (2017-07-05 19:55:28 UTC) #8
kojii
Some tests still failing but feedback appreciated. This approach turned out to have a few ...
3 years, 5 months ago (2017-07-10 19:25:43 UTC) #10
kojii
PTAL. Regular tests pass, there maybe ngbot failures. As noted above, there are some inefficiencies, ...
3 years, 5 months ago (2017-07-11 09:14:49 UTC) #15
eae
Thank you for the very thorough design doc and the detailed comments. This looks great ...
3 years, 5 months ago (2017-07-11 22:23:56 UTC) #17
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/2867293002/360001
3 years, 5 months ago (2017-07-12 05:32:23 UTC) #20
commit-bot: I haz the power
Committed patchset #18 (id:360001) as https://chromium.googlesource.com/chromium/src/+/f66aae2d690ff7d3d22bfd086a203bb5e9ce80a4
3 years, 5 months ago (2017-07-12 07:28:18 UTC) #23
cbiesinger
Sorry for the delayed (kinda too late) review but I have some comments. Generally though ...
3 years, 5 months ago (2017-07-12 15:48:44 UTC) #24
kojii
> Sorry for the delayed (kinda too late) review but I have some comments. Generally ...
3 years, 5 months ago (2017-07-12 18:21:53 UTC) #25
cbiesinger
https://codereview.chromium.org/2867293002/diff/360001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc File third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc (right): https://codereview.chromium.org/2867293002/diff/360001/third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc#newcode161 third_party/WebKit/Source/core/layout/ng/ng_constraint_space_builder.cc:161: NGBaselineRequest{algorithm_type, baseline_type}); On 2017/07/12 18:21:52, kojii wrote: > On ...
3 years, 5 months ago (2017-07-12 20:23:09 UTC) #26
kojii
3 years, 5 months ago (2017-07-13 03:44:49 UTC) #27
Message was sent while issue was closed.
On 2017/07/12 at 20:23:09, cbiesinger wrote:
> Yeah, hm, it's a bit hard to tell. But I think it's probably better to
deduplicate because the cost of that is bounded.

Ok, will do, thanks!

Powered by Google App Engine
This is Rietveld 408576698