[LayoutNG] Paint for "new" columns created by OOFs in nested context #27749
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
In CL:2704649, support was added for OOF elements that fragment beyond
the last existing fragmentainer in a nested fragmentation context.
Instead of actually creating new columns for these, we add them to the
last existing column with additional inline offset.
In order for paint to work in this case, we needed to ensure that
these fragments retrieve the correct incoming break token in
NGFragmentChildIterator::UpdateSelfFromFragment().
Bug: 1079031
Change-Id: Ib6b7400a5b898431303fe56526d1abced0343a8a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2713259
Commit-Queue: Alison Maher <almaher@microsoft.com>
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/master@{#857315}