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

Issue 2872593003: [LayoutNG] Introduce NGPositionedFloat. (Closed)

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

Description

[LayoutNG] Introduce NGPositionedFloat. This pulls out the positioned fragment info from NGFloatingObject. This allows for in a followup to perform layout on a NGUnpositionedFloat post positioning (to allow for fragmentation). BUG=635619 Review-Url: https://codereview.chromium.org/2872593003 Cr-Commit-Position: refs/heads/master@{#470194} Committed: https://chromium.googlesource.com/chromium/src/+/1fbf200f4fd34bf2b6f77818a60a472763046e9b

Patch Set 1 #

Patch Set 2 : small fixes #

Total comments: 4

Patch Set 3 : address comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -80 lines) Patch
M third_party/WebKit/Source/core/layout/BUILD.gn View 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 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm_test.cc View 6 chunks +7 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_block_node.cc View 1 2 4 chunks +7 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_floating_object.h View 1 1 chunk +1 line, -15 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_floats_utils.h View 1 2 1 chunk +12 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_floats_utils.cc View 1 2 2 chunks +26 lines, -19 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.h View 3 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_fragment_builder.cc View 1 chunk +4 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.h View 4 chunks +4 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ng/ng_physical_box_fragment.cc View 1 chunk +1 line, -1 line 0 comments Download
A third_party/WebKit/Source/core/layout/ng/ng_positioned_float.h View 1 chunk +35 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (14 generated)
ikilpatrick
3 years, 7 months ago (2017-05-08 17:30:29 UTC) #4
Gleb Lanbin
LGTM with minor comments https://codereview.chromium.org/2872593003/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc File third_party/WebKit/Source/core/layout/ng/ng_block_node.cc (right): https://codereview.chromium.org/2872593003/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc#newcode69 third_party/WebKit/Source/core/layout/ng/ng_block_node.cc:69: const NGPositionedFloat& ng_positioned_float, positioned_float or ...
3 years, 7 months ago (2017-05-08 19:03:38 UTC) #5
ikilpatrick
https://codereview.chromium.org/2872593003/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc File third_party/WebKit/Source/core/layout/ng/ng_block_node.cc (right): https://codereview.chromium.org/2872593003/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_node.cc#newcode69 third_party/WebKit/Source/core/layout/ng/ng_block_node.cc:69: const NGPositionedFloat& ng_positioned_float, On 2017/05/08 19:03:38, Gleb Lanbin wrote: ...
3 years, 7 months ago (2017-05-08 19:18:19 UTC) #8
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/2872593003/40001
3 years, 7 months ago (2017-05-08 20:32:52 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/430316)
3 years, 7 months ago (2017-05-08 20:47:09 UTC) #14
cbiesinger
lgtm
3 years, 7 months ago (2017-05-08 22:02:34 UTC) #15
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/2872593003/40001
3 years, 7 months ago (2017-05-08 22:05:45 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/2872593003/40001
3 years, 7 months ago (2017-05-08 22:06:54 UTC) #20
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 04:17:54 UTC) #23
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/1fbf200f4fd34bf2b6f77818a60a...

Powered by Google App Engine
This is Rietveld 408576698