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

Issue 2471623003: Complete layout even if a block needs relayout due to widows or column balancing. (Closed)

Created:
4 years, 1 month ago by mstensho (USE GERRIT)
Modified:
4 years ago
Reviewers:
szager1
CC:
chromium-reviews, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, pdr+renderingwatchlist_chromium.org, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Complete layout even if a block needs relayout due to widows or column balancing. We cannot just abort in the middle of layoutBlockFlow() when we detect that we need another layout pass (due to new column height or because we want an earlier break to satisfy the widows requirement). We might miss our only opportunity to detect size changes that way, and thus skip necessary layout and repositioning of absolutely positioned descendants. BUG=591637 Committed: https://crrev.com/0740b0dfd20e2f99cddc773e0fe1460ef05da508 Cr-Commit-Position: refs/heads/master@{#436192}

Patch Set 1 #

Patch Set 2 : rebase master #

Patch Set 3 : Getting the flowthread once makes the code slighty prettier. #

Total comments: 5

Messages

Total messages: 30 (12 generated)
mstensho (USE GERRIT)
I tried to figure out if we should do something about the preferredLogicalWidthsBecameDirty mechanism as ...
4 years, 1 month ago (2016-11-02 16:03:40 UTC) #6
szager1
Would it work to move the height calculation and positioned object layout out of layoutBlockFlow, ...
4 years, 1 month ago (2016-11-02 21:35:41 UTC) #7
szager1
On 2016/11/02 21:35:41, szager1 wrote: > Would it work to move the height calculation and ...
4 years, 1 month ago (2016-11-02 21:39:00 UTC) #8
mstensho (USE GERRIT)
On 2016/11/02 21:35:41, szager1 wrote: > Would it work to move the height calculation and ...
4 years, 1 month ago (2016-11-02 21:42:44 UTC) #9
szager1
On 2016/11/02 21:42:44, mstensho wrote: > On 2016/11/02 21:35:41, szager1 wrote: > > Would it ...
4 years, 1 month ago (2016-11-02 21:58:41 UTC) #10
mstensho (USE GERRIT)
On 2016/11/02 21:58:41, szager1 wrote: > On 2016/11/02 21:42:44, mstensho wrote: > > On 2016/11/02 ...
4 years, 1 month ago (2016-11-02 22:05:37 UTC) #11
mstensho (USE GERRIT)
I just realized that I should clean up the pagination code in this area before ...
4 years, 1 month ago (2016-11-02 22:50:03 UTC) #12
mstensho (USE GERRIT)
On 2016/11/02 22:50:03, mstensho wrote: > I just realized that I should clean up the ...
4 years ago (2016-12-01 12:49:56 UTC) #17
szager1
I love this! lgtm with nit. https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode518 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:518: layoutBlockFlow(relayoutChildren, layoutScope); Please ...
4 years ago (2016-12-01 17:43:24 UTC) #18
mstensho (USE GERRIT)
https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode518 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:518: layoutBlockFlow(relayoutChildren, layoutScope); On 2016/12/01 17:43:24, szager1 wrote: > Please ...
4 years ago (2016-12-01 18:11:47 UTC) #19
mstensho (USE GERRIT)
https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode518 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:518: layoutBlockFlow(relayoutChildren, layoutScope); On 2016/12/01 18:11:47, mstensho wrote: > On ...
4 years ago (2016-12-01 19:15:34 UTC) #20
szager1
https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode518 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:518: layoutBlockFlow(relayoutChildren, layoutScope); On 2016/12/01 18:11:47, mstensho wrote: > On ...
4 years ago (2016-12-01 20:30:12 UTC) #21
mstensho (USE GERRIT)
https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode518 third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp:518: layoutBlockFlow(relayoutChildren, layoutScope); On 2016/12/01 20:30:12, szager1 wrote: > On ...
4 years ago (2016-12-01 20:36:10 UTC) #22
mstensho (USE GERRIT)
On 2016/12/01 20:36:10, mstensho wrote: > https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp > File third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp (right): > > https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp#newcode518 > ...
4 years ago (2016-12-02 12:11:43 UTC) #23
szager1
On 2016/12/02 12:11:43, mstensho wrote: > On 2016/12/01 20:36:10, mstensho wrote: > > > https://codereview.chromium.org/2471623003/diff/40001/third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp ...
4 years ago (2016-12-03 00:03:03 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/2471623003/40001
4 years ago (2016-12-04 08:54:39 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-04 10:58:39 UTC) #28
commit-bot: I haz the power
4 years ago (2016-12-04 11:00:27 UTC) #30
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/0740b0dfd20e2f99cddc773e0fe1460ef05da508
Cr-Commit-Position: refs/heads/master@{#436192}

Powered by Google App Engine
This is Rietveld 408576698