[@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:Anders Hartvoll Ruud <andruud@chromium.org> Cr-Commit-Position: refs/heads/main@{#1148427}
Loading
Please register or sign in to comment