ladybird/Userland
Andreas Kling df048e10f5 LibWeb: Include siblings+descendants when invalidating style
When an element is invalidated, it's possible for any subsequent sibling
or any of their descendants to also need invalidation. (Due to the CSS
sibling combinators, `+` and `~`)

For DOM node insertion/removal, we must also invalidate preceding
siblings, since they could be affected by :first-child, :last-child or
:nth-child() selectors.

This increases the amount of invalidation we do, but it's more correct.

In the future, we will implement optimizations that drastically reduce
the number of elements invalidated.
2024-09-22 18:42:40 +02:00
..
Libraries LibWeb: Include siblings+descendants when invalidating style 2024-09-22 18:42:40 +02:00
Services RequestServer: Remove now-unused HTTP related code 2024-09-22 06:43:12 +02:00
Utilities LibWebView+WebContent+headless-browser: Make the page info IPCs async 2024-09-19 18:07:17 +02:00