Skip to content
Commit cf33e0c5 authored by Rune Lillesveen's avatar Rune Lillesveen Committed by Chromium LUCI CQ
Browse files

[@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/c/chromium/src/+/4561304


Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: default avatarAnders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1148427}
parent 41fe733f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment