[LayoutNG] Don't fragment monolithic content.
fragmentation/auto-overflow.html now starts to fail, but that test is invalid, so removing it. A block with overflow:auto is potentially scrollable, and treating it as monolithic therefore makes sense. All other browsers do this as well. Note that we did actually "always" treat it as monolithic, as far as LayoutBox::GetPaginationBreakability() was concerned, but since our legacy engine doesn't really understand fragmentation, we ended up slicing it, making the test pass. LayoutNG will now let such tall objects overflow the column instead, which wouldn't match the expectation. Bug: 829028 Change-Id: Id2ca5488049ef8e768a363e4dbe8767c7bc4d645 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2062351Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#742541}
Showing
Please register or sign in to comment