ladybird/Userland
Andreas Kling ad37c8cd26 LibWeb: Treat :is(.foo) & :where(.foo) as class selectors when bucketing
These are just roundabout ways of writing .foo, so we can still put them
in the rules-by-class bucket and skip running them when the element
doesn't have that class.

Note that :is(.foo .bar) is also bucketed as a class rule, since the
context element must have the `bar` class for the selector to match.

This is a massive speedup on https://vercel.com/ as it cuts the number
of selectors we actually evaluate from 7.0% to 1.9%.
2024-09-09 12:46:55 +02:00
..
Libraries LibWeb: Treat :is(.foo) & :where(.foo) as class selectors when bucketing 2024-09-09 12:46:55 +02:00
Services WebContent+WebDriver: Properly define and invoke stubbed methods 2024-09-08 09:01:25 -04:00
Utilities LibWebView+UI: Move the database and cookie jar to WebView::Application 2024-09-05 19:45:47 -04:00