[LayoutNG] Handle margins at unforced breaks.
A margin before a block may push the start of the block to the next fragmentainer. The remaining part of the margin will then be "eaten" by the fragmentainer boundary, as per spec: https://www.w3.org/TR/css-break-3/#break-margins Blocks that start exactly at a fragmentainer boundary no longer create a bogus empty fragment in the former fragmentainer. This affects the BlockStartAtColumnBoundary unit test. Quite a few layout tests behave better now, by going from Crash to Failure, from Crash to Pass, or from Failure to Pass. fast/multicol/dynamic/insert-spanner-between-out-of-flow.html regresses. Not sure why, but it's not so interesting, since that test uses column-span: all, which we still don't support. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I3be1b735e70f05a375ea328a7fc11fd515e77e3a Reviewed-on: https://chromium-review.googlesource.com/803482 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:Emil A Eklund <eae@chromium.org> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#521242}
Showing
This diff is collapsed.
Please register or sign in to comment