Avoid multicols shorter than tallest piece of unbreakable content.
Unless block-size constraints prevent it, attempt to make a multicol container at least as tall as its tallest piece of unbreakable content. This almost worked correctly, but not if the multicol container was nested inside another fragmentation context. It would then be constrained by the space left in the outer fragmentainer (in the case of the tests now fixed that was 0 space left). Don't attempt to make it shorter than the tallest piece of unbrekable content here, as that would actually make it (the multicol container fragment itself) fit in the current outer fragmentainer (while its contents would overflow), rather than breaking before the inner multicol container and retrying in the next outer fragmentainer. Bug: 829028 Change-Id: I94942832d6ac15ed2cfa96719810db702fea84a4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2576254Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#834245}
Showing
Please register or sign in to comment