[LayoutNG] Allow zero-width layout opportunities.
Zero-width floats or in-flow block-level objects that establish a new formatting context may fit beside preceding floats even if there's zero inline space left. With this change, a couple of tests start passing, but coverage seems a bit low, so I added a few new ones. Had to rebaseline fast/text/word-break.html because a zero-width line may now fit beside a float that takes up all available inline space. There was a <br clear=all> in the test that used to insert the line below such a float. We're now compatible with the others (and our old selves). Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Iaf394b7039545eea235b2841457f1662e5890ba9 Reviewed-on: https://chromium-review.googlesource.com/916262 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#537000}
Showing
