[LayoutNG] Allow (more) movement of self-collapsing blocks.
This relaxes a constraint we had previously that we'd never re-use a layout-result if our "forced" BFC block-offset was different. For self-collapsing blocks we can somewhat ignore this rule for the following cases: 1. If the self-collapsing block has no adjoining-objects, it can be placed anywhere. 2. If the self-collapsing block has adjoining-objects, it can be placed anywhere if its old and new expected position doesn't intersect with any floats. Change-Id: Ib2a85455955ed5b207aed64c2d691584437eaa6b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1769158 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#690875}
Showing
Please register or sign in to comment