[LayoutNG] Subtract trailing border/padding when interrupted by a spanner.
Block-end border and padding are added as part of layout, but if the box is too tall to fit, we'll remove it again. FinishFragmentation() already handles that, but we need to do something similar when column layout is interrupted by a spanner, since block-end padding and border of the spanner's ancestors will be placed after the spanner. Without this fix, we'd also make room for the border/padding before the spanner. Bug: 829028 Change-Id: I85e9dd812bbe96df16ae6ab729f809797a30f905 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2421495Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#808949}
Showing
Please register or sign in to comment