[LayoutNG] Don't break before empty block at fragmentainer boundary.
A block that has zero block-size fits within zero space, so if we have exactly zero space left in a fragmentainer, the block shouldn't be pushed to the next fragmentainer. Discovered this while working on column-rule support; fast/multicol/span/triply-nested-multiocol-zero-height-inner-with-spanner.html started to fail, because we had one column more than expected. fast/multicol/transform-inside-opacity.html will regress with this change, because we're really bad at fragmenting floats, and now the poor float ended up exactly at the end of the first column (instead of (incorrectly but oh so helpfully) being pushed to the beginning of the next by its parent). Bug: 829028 Change-Id: I66d44699c44cf7e7371f196babd424a971bfd65d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899769 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#712609}
Showing
Please register or sign in to comment