mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-15 21:57:04 +00:00
set_by_not_rules tested every rule with a :not() against every element, while matched_bytes, which charges the import's selector budget, counts only the rules Index::candidates gives for the element. A style sheet of many class-keyed :not() rules made the pre-pass test rules x elements selectors that the budget never saw. It now loops over the same candidates, which hold every rule that can match the element, so the properties it returns are unchanged.