DescriptionRecalculate column heights as part of column set layout.
This is a tad earlier than what we used to do; we used to do it for all sets in
one go at the end of layout of the multicol container. We now do it
individually for each column set (children of the multicol container) as we lay
them out.
This way we have an up-to-date column height when positioning column sets
during multicol container child layout (children being either spanner
placeholders or column sets).
For the bug in question, this is particularly important in the first layout
pass, where column heights are completely bogus. When we're in a nested
fragmentation context, inner column heights are typically set to the remaining
height of an outer column, which may be more space than the contents actually
need. This could in turn trick the machinery into believing that we need to
insert another fragmentainer group for a spanner following a column set, even
if column heights were completely unconstrained.
BUG=552615
R=leviw@chromium.org
Committed: https://crrev.com/5b549adb97c791f7e3362c529deecc702b3443d4
Cr-Commit-Position: refs/heads/master@{#369366}
Patch Set 1 #Messages
Total messages: 12 (4 generated)
|