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

Issue 2568743005: Place the out of flow positioned blocks (Closed)

Created:
4 years ago by atotic
Modified:
3 years, 11 months ago
CC:
atotic+reviews_chromium.org, blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, 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

Place the out of flow positioned blocks. Connects ng_block_algorithm with ng_absolute_utils. block_algorithm collects all the oof blocks, and positions them using ng_out_of_flow_layout_part. Future work: 1) use ResolveInline/Block Length to compute width/height inside ng_absolute_utils. This is needed to properly resolve MinContent/MaxContent lengths. 2) Investigate what happens when out_of_flow blocks cross the old/new layout boundary. There might be cases we are not handling. 3?) Unify ComputeAbsoluteHorizontal and ComputeAbsoluteVertical. They are almost the same function (Ian would like this). BUG=635619 [ng_place] Committed: https://crrev.com/a572b1d7a0042ab8974e4cd8e7873200446ccc6b Cr-Commit-Position: refs/heads/master@{#441347}

Patch Set 1 #

Patch Set 2 : Out of flow positioning: placing the elements #

Total comments: 25

Patch Set 3 : CR fixes #

Patch Set 4 : block_estimate_: fix buggy response to CR #

Total comments: 5

Patch Set 5 : CR fixes #

Patch Set 6 : skip failing tests #

Messages

Total messages: 37 (15 generated)
atotic
ptal.
4 years ago (2016-12-12 22:58:12 UTC) #3
mstensho (USE GERRIT)
Please be sure to repeat the subject in the description here in rietveld. Otherwise the ...
4 years ago (2016-12-13 08:07:25 UTC) #5
mstensho (USE GERRIT)
On 2016/12/13 08:07:25, mstensho wrote: > Please be sure to repeat the subject in the ...
4 years ago (2016-12-13 08:14:48 UTC) #6
atotic
On 2016/12/13 at 08:14:48, mstensho wrote: > On 2016/12/13 08:07:25, mstensho wrote: > > Please ...
4 years ago (2016-12-14 02:29:04 UTC) #9
atotic
ptal. I present to you this slimmer, test passing patch.
4 years ago (2016-12-14 02:30:09 UTC) #10
mstensho (USE GERRIT)
On 2016/12/14 02:29:04, atotic wrote: > On 2016/12/13 at 08:14:48, mstensho wrote: > > On ...
4 years ago (2016-12-14 06:40:37 UTC) #11
atotic
On 2016/12/14 at 06:40:37, mstensho wrote: > Still one wide line, and the subject still ...
4 years ago (2016-12-14 07:24:57 UTC) #13
mstensho (USE GERRIT)
On 2016/12/14 07:24:57, atotic wrote: > On 2016/12/14 at 06:40:37, mstensho wrote: > > Still ...
4 years ago (2016-12-14 07:59:32 UTC) #14
cbiesinger
Sorry for the very late review! https://codereview.chromium.org/2568743005/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2568743005/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode253 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:253: } else { ...
4 years ago (2016-12-21 21:38:50 UTC) #15
cbiesinger
By the way -- loading google.com with this patch leads to this assertion, may be ...
4 years ago (2016-12-21 22:16:28 UTC) #16
atotic
On 2016/12/21 at 22:16:28, cbiesinger wrote: > By the way -- loading google.com with this ...
3 years, 12 months ago (2016-12-25 07:56:59 UTC) #17
atotic
On 2016/12/25 at 07:56:59, atotic wrote: > On 2016/12/21 at 22:16:28, cbiesinger wrote: > > ...
3 years, 12 months ago (2016-12-25 08:09:16 UTC) #18
atotic
ptal. Fixed CR comments. https://codereview.chromium.org/2568743005/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2568743005/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode253 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:253: } else { On 2016/12/21 ...
3 years, 11 months ago (2016-12-28 19:36:46 UTC) #19
atotic
ptal My original response to CR was buggy: On 2016/12/21 at 21:38:50, cbiesinger wrote: >> ...
3 years, 11 months ago (2016-12-28 20:35:17 UTC) #20
cbiesinger
lgtm https://codereview.chromium.org/2568743005/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc File third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc (right): https://codereview.chromium.org/2568743005/diff/20001/third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc#newcode333 third_party/WebKit/Source/core/layout/ng/ng_block_layout_algorithm.cc:333: bool NGBlockLayoutAlgorithm::LayoutOutOfFlowChild() { On 2016/12/28 19:36:45, atotic wrote: ...
3 years, 11 months ago (2017-01-04 00:13:16 UTC) #22
atotic
https://codereview.chromium.org/2568743005/diff/60001/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc File third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc (right): https://codereview.chromium.org/2568743005/diff/60001/third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc#newcode145 third_party/WebKit/Source/core/layout/ng/ng_out_of_flow_layout_part.cc:145: if (block_estimate_) On 2017/01/04 at 00:13:16, cbiesinger wrote: > ...
3 years, 11 months ago (2017-01-04 01:34:35 UTC) #24
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/2568743005/80001
3 years, 11 months ago (2017-01-04 01:34:56 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/357325)
3 years, 11 months ago (2017-01-04 03:26:10 UTC) #28
atotic
On 2017/01/04 at 03:26:10, commit-bot wrote: > Try jobs failed on following builders: > win_chromium_rel_ng ...
3 years, 11 months ago (2017-01-04 07:46:35 UTC) #29
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/2568743005/100001
3 years, 11 months ago (2017-01-04 07:46:58 UTC) #32
commit-bot: I haz the power
Committed patchset #6 (id:100001)
3 years, 11 months ago (2017-01-04 09:15:41 UTC) #35
commit-bot: I haz the power
3 years, 11 months ago (2017-01-04 09:18:49 UTC) #37
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a572b1d7a0042ab8974e4cd8e7873200446ccc6b
Cr-Commit-Position: refs/heads/master@{#441347}

Powered by Google App Engine
This is Rietveld 408576698