[LayoutNG] Improve column block-size calculation.
This is partly clean-up, partly preparations for column-span:all, and at least one fix: When a multicol container is nested inside another fragmentation context and has column-fill:auto, we shouldn't balance the columns, since its fragments are constrained by the outer fragmentation context. CalculateBalancedColumnBlockSize() now honors incoming break tokens, rather than starting from the beginning of the content. Change-Id: I3ddfde60ec310e11e09944b0b0ccb6964ca5fa96 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1766071 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#690404}
Showing
Please register or sign in to comment