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

Issue 1472053002: Jump to the next outer column when an inner column is too short. (Closed)

Created:
5 years ago by mstensho (USE GERRIT)
Modified:
5 years 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

Jump to the next outer column when an inner column is too short. If an inner multicol ends up near the bottom in a column in an outer multicol container, we get inner columns that are shorter in the first row than in subsequent rows. In such cases it may be necessary to break past all inner columns in the first row, so that we push the content all the way to the next row (and thus to the next outer column), in order to fit unbreakable content (such as lines or unbreakable blocks). BUG=447718 R=leviw@chromium.org Committed: https://crrev.com/6692bea7c8d9afb6c4f23c6194ecacc3a4bddbe8 Cr-Commit-Position: refs/heads/master@{#361769}

Patch Set 1 #

Patch Set 2 : Reduce diff - early return so that we can revert some indentation changes #

Total comments: 8

Patch Set 3 : code review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+204 lines, -30 lines) Patch
A third_party/WebKit/LayoutTests/fast/multicol/forced-break-in-nested-columns.html View 1 chunk +13 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/forced-break-in-nested-columns-expected.txt View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/nested-auto-height-short-first-row.html View 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/nested-auto-height-short-first-row-expected.html View 1 chunk +11 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-extra-tall-line.html View 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-extra-tall-line-expected.txt View 1 chunk +10 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-unsplittable-block.html View 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/nested-short-first-row-unsplittable-block-expected.txt View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.h View 1 chunk +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlock.cpp View 1 chunk +21 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp View 1 8 chunks +39 lines, -30 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlowThread.h View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutFlowThread.cpp View 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp View 1 2 1 chunk +30 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (5 generated)
mstensho (USE GERRIT)
I'm pretty sure this isn't the smallest CL you've ever got. :) It is possible ...
5 years ago (2015-11-24 14:44:18 UTC) #1
mstensho (USE GERRIT)
The trybots found regressions. I suppose I should figure out what that's about before you ...
5 years ago (2015-11-24 19:00:35 UTC) #2
mstensho (USE GERRIT)
On 2015/11/24 19:00:35, mstensho wrote: > The trybots found regressions. I suppose I should figure ...
5 years ago (2015-11-24 20:58:36 UTC) #3
leviw_travelin_and_unemployed
On 2015/11/24 at 14:44:18, mstensho wrote: > I'm pretty sure this isn't the smallest CL ...
5 years ago (2015-11-24 21:41:40 UTC) #4
leviw_travelin_and_unemployed
Well... I lied. I'll try again tomorrow morning. Don't hate me.
5 years ago (2015-11-25 03:52:38 UTC) #5
mstensho (USE GERRIT)
On 2015/11/25 03:52:38, leviw wrote: > Well... I lied. I'll try again tomorrow morning. Don't ...
5 years ago (2015-11-25 08:16:36 UTC) #6
leviw_travelin_and_unemployed
Whew... I made it through this. A couple comments, but I'll let you follow-up on ...
5 years ago (2015-11-25 19:26:34 UTC) #7
mstensho (USE GERRIT)
Good work! Thanks a lot! Enjoy the turducken! https://codereview.chromium.org/1472053002/diff/20001/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp File third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp (right): https://codereview.chromium.org/1472053002/diff/20001/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp#newcode102 third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp:102: ASSERT(pageLogicalTopForOffset(flowThreadOffset) ...
5 years ago (2015-11-25 20:08:17 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472053002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472053002/40001
5 years ago (2015-11-25 20:10:08 UTC) #11
leviw_travelin_and_unemployed
https://codereview.chromium.org/1472053002/diff/20001/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp File third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp (right): https://codereview.chromium.org/1472053002/diff/20001/third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp#newcode110 third_party/WebKit/Source/core/layout/LayoutMultiColumnSet.cpp:110: if (pageLogicalHeightForOffset(flowThreadOffset) >= contentLogicalHeight) On 2015/11/25 at 20:08:17, mstensho ...
5 years ago (2015-11-25 22:00:49 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ninja on ...
5 years ago (2015-11-25 22:14:10 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1472053002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1472053002/40001
5 years ago (2015-11-25 22:42:02 UTC) #16
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-11-26 00:48:17 UTC) #17
commit-bot: I haz the power
5 years ago (2015-11-26 00:49:29 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6692bea7c8d9afb6c4f23c6194ecacc3a4bddbe8
Cr-Commit-Position: refs/heads/master@{#361769}

Powered by Google App Engine
This is Rietveld 408576698