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

Issue 1406973008: Calculate minimum column height after layout. (Closed)

Created:
5 years, 1 month ago by mstensho (USE GERRIT)
Modified:
5 years, 1 month ago
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Calculate minimum column height after layout. This moves some multicol specific code out from LayoutBlock and LayoutBlockFlow. More importantly, though, is that once we add optimizations to skip subtrees during multicol layout, collecting this information during layout isn't going to work. R=leviw@chromium.org Committed: https://crrev.com/479a72d61ee559c651a5a69da1edf5df7b4f3eb5 Cr-Commit-Position: refs/heads/master@{#358171}

Patch Set 1 #

Total comments: 8

Patch Set 2 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -49 lines) Patch
M third_party/WebKit/Source/core/layout/ColumnBalancer.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/ColumnBalancer.cpp View 1 2 chunks +24 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.h View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 4 chunks +1 line, -14 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlowThread.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMultiColumnFlowThread.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.h View 2 chunks +0 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp View 2 chunks +1 line, -4 lines 0 comments Download

Messages

Total messages: 11 (1 generated)
mstensho (USE GERRIT)
5 years, 1 month ago (2015-11-03 18:44:13 UTC) #1
mstensho (USE GERRIT)
leviw, can you take a look, please? I need to improve the minimum height stuff ...
5 years, 1 month ago (2015-11-05 12:55:58 UTC) #2
leviw_travelin_and_unemployed
https://codereview.chromium.org/1406973008/diff/1/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp File third_party/WebKit/Source/core/layout/ColumnBalancer.cpp (right): https://codereview.chromium.org/1406973008/diff/1/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp#newcode113 third_party/WebKit/Source/core/layout/ColumnBalancer.cpp:113: if (box.paginationBreakability() != LayoutBox::AllowAnyBreaks) { This is new code? ...
5 years, 1 month ago (2015-11-05 18:44:26 UTC) #3
mstensho (USE GERRIT)
Just answering on your comments. Will make the code changes tomorrow. https://codereview.chromium.org/1406973008/diff/1/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp File third_party/WebKit/Source/core/layout/ColumnBalancer.cpp (right): ...
5 years, 1 month ago (2015-11-05 19:15:56 UTC) #4
leviw_travelin_and_unemployed
On 2015/11/05 at 19:15:56, mstensho wrote: > Just answering on your comments. Will make the ...
5 years, 1 month ago (2015-11-05 19:24:45 UTC) #5
mstensho (USE GERRIT)
https://codereview.chromium.org/1406973008/diff/1/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp File third_party/WebKit/Source/core/layout/ColumnBalancer.cpp (right): https://codereview.chromium.org/1406973008/diff/1/third_party/WebKit/Source/core/layout/ColumnBalancer.cpp#newcode130 third_party/WebKit/Source/core/layout/ColumnBalancer.cpp:130: unsigned lineCount = std::max<unsigned>(style.hasAutoOrphans() ? 1 : style.orphans(), style.widows()); ...
5 years, 1 month ago (2015-11-05 22:17:10 UTC) #6
leviw_travelin_and_unemployed
lgtm
5 years, 1 month ago (2015-11-05 22:18:36 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1406973008/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1406973008/20001
5 years, 1 month ago (2015-11-05 22:20:15 UTC) #9
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 1 month ago (2015-11-05 23:27:26 UTC) #10
commit-bot: I haz the power
5 years, 1 month ago (2015-11-05 23:28:10 UTC) #11
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/479a72d61ee559c651a5a69da1edf5df7b4f3eb5
Cr-Commit-Position: refs/heads/master@{#358171}

Powered by Google App Engine
This is Rietveld 408576698