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 Review URL: https://codereview.chromium.org/1424913003 Cr-Commit-Position: refs/heads/master@{#360540}
Showing
Please register or sign in to comment