Files
serenity/Userland/Libraries/LibWeb/CSS
Andreas Kling 319dd59fc4 LibWeb: Cache whether there are any :has() selectors present
As useful as they may be to web developers, :has() selectors complicate
the style invalidation process quite a lot.

Let's have StyleComputer keep track of whether they are present at all
in the current set of active style sheets. This will allow us to
implement fast-path optimizations when there are no :has() selectors.

(cherry picked from commit 8beb7c77002a3359ad2fe73969fc6bb2dbc75413)
2024-11-10 10:46:01 -05:00
..