[LayoutNG] Don't add zero-width floats to the exclusion space.
The only thing such floats should affect is the block position of subsequent floats (float rule §5 [1] and clearance). They should not affect the inline position or inline size of subsequent floats or new formatting contexts. The spec isn't actually clear here, although the browsers agree on the above. Submitted https://github.com/w3c/csswg-drafts/issues/2312 [1] https://www.w3.org/TR/CSS22/visuren.html#float-position Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ia9e724c8a58fcb017f86f26bdf90394f09414f4e Reviewed-on: https://chromium-review.googlesource.com/919065Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#537274}
Showing
Please register or sign in to comment