Skip to content

Miss the cache on nested multicol with OOF.#32944

Merged
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-3481336
Feb 22, 2022
Merged

Miss the cache on nested multicol with OOF.#32944
chromium-wpt-export-bot merged 1 commit intomasterfrom
chromium-export-cl-3481336

Conversation

@chromium-wpt-export-bot
Copy link
Copy Markdown
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Feb 22, 2022

We handle OOFs that are contained by a multicol in a nested
fragmentation context in a special way: We'll lay them out when we have
returned to the outermost fragmentation context root (that's when we
know how many inner fragmentainers we've got). If we both do this, and
hit the cache, and thus keep and re-use the old OOF fragments along with
the rest, we'll end up with extraneous fragments when we return to the
outermost fragmentation context root and add fragments for them there as
well.

Bug: 1296900
Change-Id: I78193353092529e3bd11d58785afa8e4d1f19ebb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3481336
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#973852}

Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

We handle OOFs that are contained by a multicol in a nested
fragmentation context in a special way: We'll lay them out when we have
returned to the outermost fragmentation context root (that's when we
know how many inner fragmentainers we've got). If we both do this, and
hit the cache, and thus keep and re-use the old OOF fragments along with
the rest, we'll end up with extraneous fragments when we return to the
outermost fragmentation context root and add fragments for them there as
well.

Bug: 1296900
Change-Id: I78193353092529e3bd11d58785afa8e4d1f19ebb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3481336
Reviewed-by: Alison Maher <almaher@microsoft.com>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#973852}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants