[LayoutNG] Store inner multicols with pending OOFs
To handle layout of OOF positioned elements inside a nested fragmentation context, we will delay layout of the OOFs until they've reached the outermost context, at which point they will get laid out inside the inner multicol in which their containing block was found. This change stores such inner multicols in the container builder and physical fragment as a means to propagate the associated inner multicols up to the outer context where their OOFs will be laid out. This change also adds logic to halt the propagation of OOF positioned fragmentainer descendants up the tree if we've reached a multicol. In this case, we would know that we are in a nested context, and any OOFs that have reached their containing block should remain in the inner multicol's physical fragment rather than continuing up the tree. See design doc for more details: https://docs.google.com/document/d/13Pn7SSJjzskg9kQ4jErzlJrj2j4zGBfNBFLEeDVENUU/edit?usp=sharing Note: The OOF elements inside a nested context are not yet getting laid out, which will cause related tests to crash. This will be addressed in follow-up changes. Bug: 1079031 Change-Id: I87399a67c6fc5021f3323afe8fae0b15e6e13eaa Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2612392 Commit-Queue: Alison Maher <almaher@microsoft.com> Reviewed-by:Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#841140}
Showing
Please register or sign in to comment