[wpt-sync] Sync PR 40187 - [@container] Track dependencies for nestes container rules
Categories
(Core :: Layout, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox116 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40187 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40187
Details from upstream follow.
Rune Lillesveen <futhark@chromium.org> wrote:
[@container] Track dependencies for nestes container rules
We keep track of whether elements' style depends on size and style
queries to target these elements for style invalidation when the
container changes. However, we only did so for the innermost @container
rule.Move the dependency check for selectors into the ContainerQueryEvaluator
where nested rules are traversed and make sure we also still collect
dependencies from the container selectors when we skip query matching
for pseudo element selectors.Bug: 1445876
Change-Id: I8f49b900158828b78f0f09abf8c78d2845b7c303
Reviewed-on: https://chromium-review.googlesource.com/4561304
WPT-Export-Revision: 7d4325c88d913c338e9d0ead05ee3f6b0a582c0e
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Updated•1 years ago
|
Assignee | ||
Comment 1•1 years ago
|
||
Assignee | ||
Comment 2•1 year ago
|
||
Assignee | ||
Comment 3•1 year ago
|
||
Assignee | ||
Comment 5•1 year ago
|
||
Comment 6•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a66b987424cf
https://hg.mozilla.org/mozilla-central/rev/4624fe66ec74
Description
•