ladybird/Tests/LibWeb/Text/expected/css-has-invalidation
Andreas Kling 44a6da5165 LibWeb: Avoid cold rule cache builds for :has() checks
Cache lightweight selector insights on each stylesheet so cold style
scopes can answer whether :has() invalidation is relevant without
building a complete rule cache. This avoids forcing rule caches for
shadow roots whose active sheets do not contain :has() selectors.

Imported sheets contribute to their parent sheet's effective rules, so
an imported sheet load or CSSOM change also clears ancestor selector
insight caches.

Add test-only counters and regression coverage for cold shadow roots
with and without :has() selectors, plus delayed imported :has() rules.
2026-05-23 22:03:46 +02:00
..
baseline-cache-hits.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
baseline-no-has.txt LibWeb: Add test-only counters for :has() invalidation work 2026-04-20 13:20:41 +02:00
baseline-non-subject-has.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
baseline-sibling-has.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
baseline-subject-has.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
cold-shadow-root-sheet-insights.txt LibWeb: Avoid cold rule cache builds for :has() checks 2026-05-23 22:03:46 +02:00
deep-dom-with-anchor-halfway.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
fast-path-unrelated-mutation.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-child-combinator.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-complex-sibling-subtree-scan-insights.txt LibWeb: Delay generic :has() sibling scans until sibling roots 2026-04-20 13:20:41 +02:00
has-control-no-has-with-text-insert.txt LibWeb: Add test-only counters for :has() invalidation work 2026-04-20 13:20:41 +02:00
has-feature-metadata-buckets.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-featureless-and-concrete-child-list-coalescing.txt LibWeb: Coalesce safe :has() child-list invalidations 2026-04-30 14:31:28 +02:00
has-order-insensitive-plan-merge.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-sibling-scan-insights.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-subsequent-sibling.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-with-attribute.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-with-is.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
has-with-not.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
insertion-triggers-has.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
multiple-has-rules.txt LibWeb: Stop :has() invalidation walk when out of :has() scope 2026-04-20 13:20:41 +02:00
unstyled-shadow-root-mutation.txt LibWeb: Skip :has() invalidation for unstyled shadow roots 2026-05-23 22:03:46 +02:00