[LayoutNG] Delay layout of OOF elements inside a nested fragmentainer
Currently, we wait to layout fragmented OOF elements until they've reached the fragmentation context root. In the case of nested fragmentation, we need to wait until that fragmentation context root has finished layout to ensure that the containing block has also finished layout. This change delays layout of fragmented OOF elements until we've reached a fragmentation context root that is not itself fragmented. This results in OOF elements being added as children to the outermost fragmentainer that it is found in rather than the innermost. We will need to bubble up some extra information about the innermost fragmentainer in order to properly position the OOF elements. This will be done in a follow-up CL. Bug: 1079031 Change-Id: Ia2d5ed3af2a99f5c091d1cd9c399cc34bc580038 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2462048 Commit-Queue: Alison Maher <almaher@microsoft.com> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#815698}
Showing
Please register or sign in to comment