DescriptionDon'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 #
Messages
Total messages: 19 (6 generated)
|