[LayoutNG] Clear layout results when the layout wasn't successful.
Today we can end up in a state where the layout result cache for a LayoutBox contains a fragment tree which doesn't match the layout tree state. This occurs when we "abort" layout, i.e. 1) during the first pass children are positioned at a particular offset 2) a parent aborts layout due to resolving a BFC offset 3) the parent hits the layout result cache which has children at a different offset Bug: 1003558 Change-Id: Iabc5dfefd74c517222ec435cea376ad000a0372f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1821674Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#702507}
Showing
Please register or sign in to comment