mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-12 01:46:46 +02:00
Collect concrete features from pending :has() mutations and use them to avoid re-invalidating non-subject :has() anchors whose matching rules cannot be affected by the mutation. Keep conservative behavior for shadow-boundary fanout, structural sibling changes, and selectors whose relevant features cannot be proven. For sibling-combinator relative selectors, avoid marking an anchor as handled until it is actually invalidated, and make the sibling scan respect anchors skipped by the feature filter for the same mutation.
3.1 KiB
3.1 KiB