mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-02 04:27:12 +02:00
When multiple descendant nodes change in one style invalidation cycle, invalidate_style_of_elements_affected_by_has() walks from each pending node up to all ancestors. Since ancestor paths converge going up, the same ancestor elements get processed repeatedly, causing redundant invalidate_style_if_affected_by_has() calls.
21 KiB
21 KiB