mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-29 12:49:08 +00:00
By bucketing these seletors by class or ID, we can avoid running them in more cases. Before, we were only avoiding them if the context element wasn't a div. Now we avoid them for any element that doesn't have that specific class or ID. This reduces the number of selectors ran on https://vercel.com by a bit more, from 1.90% to 1.65%.
143 KiB
143 KiB