Closed Bug 1820520 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 38828 - Handle quotes better with container queries

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
112 Branch
Tracking Status
firefox112 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 38828 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/38828
Details from upstream follow.

Rune Lillesveen <futhark@chromium.org> wrote:

Handle quotes better with container queries

Generated content quotes are not style contained yet and we need to make
sure we do not re-attach LayoutQuotes outside of a size container during
layout. We returned quite early and gave up inserting the LayoutQuote in
the linked list of document quotes for container queries.

This CL improves this to cover more cases by always update the document-
wide LayoutQuote list but make sure layout/fragment tree modifications
do not happen unless we are already marked for layout or are about to
insert the LayoutQuote into the box tree.

Bug: 1417207
Change-Id: I40850cf57e9d7b91414eb12fc8f67c28707b791e
Reviewed-on: https://chromium-review.googlesource.com/4307536
WPT-Export-Revision: 258a8ffeea15f0b04b9c0aa375a9f5bee0725526

Component: web-platform-tests → Layout
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f927ce4f9c14 [wpt PR 38828] - Handle quotes better with container queries, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 112 Branch
You need to log in before you can comment on or make changes to this bug.