mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
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%.
143 KiB
143 KiB