[FragmentItem] Propagate out-of-flow objects
This patch propagates out-of-flow objects when FragmentItem is enabled. Out-of-flow objects need a different propagation up to their containing block. This patch makes sure out-of-flow objects in inline formatting context are handled the same way. Because objects in inline formatting context are no longer full |NGPhysicalFragment|, this patch splits |AddChild| to the logic we need to do for all new child, and to actually add to the child list, so that objects in inline formatting context can call the former part. Regresses ~30 tests by revealing hidden failrues or turning crashes into failures, but fixes ~1300. It is very likely that we need more tweaks for how to handle them with FragmentItem, I will invesigate other failures in following patches. Bug: 982194 Change-Id: I89523efe68e0558916cb47f6c0216dca2d2327b5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1899229 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Aleks Totic <atotic@chromium.org> Reviewed-by:
Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#713344}
Showing
Please register or sign in to comment