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

Issue 2960233002: [LayoutNG] Move bfc_offset_, end_margin_sturt_ to NGLayoutResult (Closed)

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

Description

[LayoutNG] Move bfc_offset_, end_margin_sturt_ to NGLayoutResult This is in preparation for relayout zero-block-size floats quirk. For an aborted layout we don't want the NGLayoutResult to have a Fragment associated with it, but we do want a BfcOffset, and EndMarginStrut. This also cleans up double vector for out-of-flow positioned descendants, while I was there. BUG=635619 Review-Url: https://codereview.chromium.org/2960233002 Cr-Commit-Position: refs/heads/master@{#483422} Committed: https://chromium.googlesource.com/chromium/src/+/a0782d6a6407c627004bac723cf73751d8fec130

Patch Set 1 #

Patch Set 2 : \o/ #

Patch Set 3 : \o/ \o/ #

Total comments: 1

Patch Set 4 : OOF -> OutOfFlow #

Patch Set 5 : OOF -> OutOfFlow #

Patch Set 6 : OOF -> OutOfFlow #

Patch Set 7 : OOF -> OutOfFlow #

Unified diffs Side-by-side diffs Delta from patch set Stats (+165 lines, -160 lines) Patch
M third_party/WebKit/Source/core/layout/BUILD.gn View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/inline/ng_inline_layout_algorithm.cc View 1 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/layout_ng_block_flow.cc View 2 3 1 chunk +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.h View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 4 chunks +16 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 1 chunk +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box_fragment.h View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_box_fragment.cc View 1 chunk +0 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment.h View 1 2 2 chunks +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h View 1 2 3 4 5 4 chunks +23 lines, -23 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc View 1 2 3 4 chunks +40 lines, -39 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_result.h View 1 2 3 3 chunks +19 lines, -11 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_layout_result.cc View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc View 1 2 3 2 chunks +12 lines, -17 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part_test.cc View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_positioned_descendant.h View 1 2 3 4 5 6 1 chunk +32 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h View 2 chunks +0 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc View 2 chunks +1 line, -5 lines 0 comments Download

Messages

Total messages: 42 (32 generated)
ikilpatrick
3 years, 5 months ago (2017-06-28 18:30:05 UTC) #6
ikilpatrick
https://codereview.chromium.org/2960233002/diff/2/third_party/WebKit/Source/core/layout/ng/ng_oof_positioned_descendant.h File third_party/WebKit/Source/core/layout/ng/ng_oof_positioned_descendant.h (right): https://codereview.chromium.org/2960233002/diff/2/third_party/WebKit/Source/core/layout/ng/ng_oof_positioned_descendant.h#newcode25 third_party/WebKit/Source/core/layout/ng/ng_oof_positioned_descendant.h:25: struct CORE_EXPORT NGOOFPositionedDescendant { I can also name this ...
3 years, 5 months ago (2017-06-28 18:31:01 UTC) #7
ikilpatrick
3 years, 5 months ago (2017-06-28 18:31:02 UTC) #8
eae
LGTM
3 years, 5 months ago (2017-06-28 18:31:53 UTC) #9
cbiesinger
lgtm
3 years, 5 months ago (2017-06-28 19:27:47 UTC) #12
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/2960233002/70001
3 years, 5 months ago (2017-06-29 01:01:32 UTC) #25
commit-bot: I haz the power
Try jobs failed on following builders: linux_layout_tests_layout_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_layout_ng/builds/616)
3 years, 5 months ago (2017-06-29 02:43:32 UTC) #27
ikilpatrick
removing ng-bot, failures are fixed by: https://codereview.chromium.org/2969433002/
3 years, 5 months ago (2017-06-29 17:48:29 UTC) #35
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/2960233002/110001
3 years, 5 months ago (2017-06-29 17:49:02 UTC) #39
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 18:08:45 UTC) #42
Message was sent while issue was closed.
Committed patchset #7 (id:110001) as
https://chromium.googlesource.com/chromium/src/+/a0782d6a6407c627004bac723cf7...

Powered by Google App Engine
This is Rietveld 408576698