[wpt-sync] Sync PR 39981 - Avoid unnecessary re-creation of ContainerQueryEvaluator
Categories
(Core :: Layout, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 39981 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/39981
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
Avoid unnecessary re-creation of ContainerQueryEvaluator
Changing to/from display:contents we used to require a re-creation of
the ContainerQueryEvaluator, but now we should update queries and
invalidate properly in UpdateStyleForNonEligibleContainer().This also fixes a bug with not invalidating querying elements at all if
we were only using style() queries and display changed to 'contents'.Bug: 1445044
Change-Id: I1c70ed0ef4e6449e44651021dea49240a80f32e0
Reviewed-on: https://chromium-review.googlesource.com/4526080
WPT-Export-Revision: ad794e9e0fd675ef95ee75e73448bc453a055d9d
| Assignee | ||
Updated•3 years ago
|
| Assignee | ||
Comment 1•3 years ago
|
||
Comment 3•3 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/57627382e02b
https://hg.mozilla.org/mozilla-central/rev/f8e15c063fc3
Description
•