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

Issue 1489663003: column-span:all in nested multicol requires re-insertion of fragmentainer groups. (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, mstensho (USE GERRIT), 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

column-span:all in nested multicol requires re-insertion of fragmentainer groups. A column set that follows a spanner will typically have an incorrect logical top in the first layout pass (because the spanner hasn't been laid out yet). We already have code in place to make sure that we re-lay out when we need to, but we also need to delete and re-insert fragmentainer groups when this happens in a nested fragmentation context. If a column set gets a new logical top, it means that previously inserted fragmentainer groups are now out of sync with reality, and have to be re-inserted. Remove the BalancedColumnHeightCalculation enum. There's no need for it anymore, since picking calculation mode is now something we need to do for each individual column set. m_tallestUnbreakableLogicalHeight is now reset in resetColumnHeight() (that's where it ought to have been all along, anyway). BUG=447718 R=leviw@chromium.org Committed: https://crrev.com/7829897fa89bec64fa0dbc45471d1fa784ead98d Cr-Commit-Position: refs/heads/master@{#362492}

Patch Set 1 #

Total comments: 7

Messages

Total messages: 9 (2 generated)
mstensho (USE GERRIT)
Span span span span span span span! https://www.youtube.com/watch?v=M_eYSuPKP3Y
5 years ago (2015-12-01 15:15:22 UTC) #1
leviw_travelin_and_unemployed
LGTM. Where the hell do you come up with these test cases? :p https://codereview.chromium.org/1489663003/diff/1/third_party/WebKit/LayoutTests/fast/multicol/span/after-row-with-uneven-height-nested-multicol.html File ...
5 years ago (2015-12-01 18:26:41 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1489663003/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1489663003/1
5 years ago (2015-12-01 18:48:35 UTC) #4
mstensho (USE GERRIT)
Thanks for reviewing. Glad you like the test cases. The next one will have beer ...
5 years ago (2015-12-01 18:55:56 UTC) #5
eae
On 2015/12/01 18:55:56, mstensho wrote: > Sorry. EU directive. :( Darn those bureaucrats!
5 years ago (2015-12-01 19:23:49 UTC) #6
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-12-01 20:56:03 UTC) #7
commit-bot: I haz the power
5 years ago (2015-12-01 20:57:31 UTC) #9
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/7829897fa89bec64fa0dbc45471d1fa784ead98d
Cr-Commit-Position: refs/heads/master@{#362492}

Powered by Google App Engine
This is Rietveld 408576698