DescriptionDon't lose the pagination strut when a line is re-created.
If there's not enough room for a line in a column, so that it gets pushed to
the next one, and there's a float at the top of the next column, the available
line width changes, and we need to re-create the line at the new position. Do
not lose the pagination strut in the process, or the column balancer might
over-stretch the columns, since it might fail to find the lowest possible space
shortage for the next layout pass. So store the strut so that we can re-apply
it when the new line has been created.
Since we now store the strut of such lines while they're being re-created, this
can be used as a flag to skip positioning of out-of-flow objects and floats. In
other words, we can retire the logicalWidthIsAvailable flag (which was a really
confusing name anyway).
Committed: https://crrev.com/afd633d1bb2b6ca6149eb70b8860189753105d53
Cr-Commit-Position: refs/heads/master@{#388884}
Patch Set 1 #Patch Set 2 : Wrong relative path to resources/ #
Total comments: 2
Patch Set 3 : Make a reftest instead. #
Messages
Total messages: 13 (4 generated)
|