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

Issue 1424913003: Don't set bogus height on new fragmentainer groups initially. (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

Don't set bogus height on new fragmentainer groups initially. This essentially made it impossible to support more than two column rows in auto-height multicol containers. When a new fragmentainer group is created, resetColumnHeight() is called right *before* the fragmentainer group is inserted into the array, so we'd trick ourselves into believing that height always was non-auto, because the heightIsAuto() method on MultiColumnFragmentainerGroup would require the fragmentainer group to be the last one in the array to count as auto. We could fix the order in which things are done, or just make the whole thing a bit more robust, which this CL aims to do. BUG=447718 R=leviw@chromium.org Committed: https://crrev.com/a0c1edf2467002afb124b7ec61edde2a47d4b385 Cr-Commit-Position: refs/heads/master@{#360540}

Patch Set 1 #

Patch Set 2 : rebase master #

Patch Set 3 : rebase master #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -11 lines) Patch
A third_party/WebKit/LayoutTests/fast/multicol/three-inner-rows.html View 1 chunk +21 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/three-inner-rows-expected.txt View 1 chunk +23 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp View 1 2 2 chunks +5 lines, -10 lines 0 comments Download

Messages

Total messages: 19 (6 generated)
mstensho (USE GERRIT)
5 years, 1 month ago (2015-11-02 13:42:59 UTC) #1
mstensho (USE GERRIT)
leviw, can you take a look, please?
5 years, 1 month ago (2015-11-05 12:53:44 UTC) #2
mstensho (USE GERRIT)
On 2015/11/05 12:53:44, mstensho wrote: > leviw, can you take a look, please? Oh.. that ...
5 years, 1 month ago (2015-11-05 13:35:21 UTC) #3
mstensho (USE GERRIT)
On 2015/11/05 13:35:21, mstensho wrote: > On 2015/11/05 12:53:44, mstensho wrote: > > leviw, can ...
5 years, 1 month ago (2015-11-05 16:31:04 UTC) #4
mstensho (USE GERRIT)
@leviw: Reopening this. It should no longer cause the aforementioned regression. Please take a look.
5 years, 1 month ago (2015-11-18 21:08:55 UTC) #6
leviw_travelin_and_unemployed
lgtm
5 years, 1 month ago (2015-11-18 21:19:44 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424913003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424913003/40001
5 years, 1 month ago (2015-11-18 21:28:25 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/142662)
5 years, 1 month ago (2015-11-18 22:17:45 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424913003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424913003/40001
5 years, 1 month ago (2015-11-18 22:22:15 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/142748)
5 years, 1 month ago (2015-11-19 00:54:46 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1424913003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1424913003/40001
5 years, 1 month ago (2015-11-19 06:19:19 UTC) #17
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-19 07:02:59 UTC) #18
commit-bot: I haz the power
5 years, 1 month ago (2015-11-19 07:03:51 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a0c1edf2467002afb124b7ec61edde2a47d4b385
Cr-Commit-Position: refs/heads/master@{#360540}

Powered by Google App Engine
This is Rietveld 408576698