[LayoutNG] Don't let negative margin + adjacent float miss a layout opportunity.
If a negative margin pulls a new formatting context block child back up to where there is an adjacent float, but the block is too wide to fit there beside it, make sure that we don't get pushed further down than just below the bottom edge of the float. Simply ignoring the top margin on the child might take us too far down. Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: I22de7205518dd3c08d56e4ca8d07e4ae062508fc Reviewed-on: https://chromium-review.googlesource.com/937503Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#539193}
Showing
Please register or sign in to comment