Closed Bug 1836137 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 40331 - [@container] Always create ContainerQueryEvaluator on demand

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
116 Branch
Tracking Status
firefox116 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Rune Lillesveen <futhark@chromium.org> wrote:

[@container] Always create ContainerQueryEvaluator on demand

Creating them eagerly for size containers and lazily for style
containers made the code confusing and hard to reason about.

Also there was a bug with incorrect evaluation of style queries for
size containers with unknown results for it size features. That is
fixed by making sure we do not create ContainerQueryEvaluators without a
MediaQueryEvaluator.

Bug: 1450054
Change-Id: I9af679badaff645da3d2b20a816821a7d1b266f5
Reviewed-on: https://chromium-review.googlesource.com/4567559
WPT-Export-Revision: 015a0049ef624c226cf609abe7e35b7a2f0e2f57

Component: web-platform-tests → Layout
Product: Testing → Core
Test result changes from PR not available.
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc2077867e48 [wpt PR 40331] - [@container] Always create ContainerQueryEvaluator on demand, a=testonly https://hg.mozilla.org/integration/autoland/rev/53fbbcf5d8af [wpt PR 40331] - Update wpt metadata, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch
You need to log in before you can comment on or make changes to this bug.