mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
This allows us to skip evaluating selectors like "[foo=bar]" for any element that doesn't have a "foo" attribute. Note that the bucket is case-insensitively keyed on the attribute name since case sensitivity is depending on evaluation context. This ensures we may get some false positives but no false negatives. Reduces the number of selectors evaluated by 36% when loading our GitHub repo at https://github.com/SerenityOS/serenity
122 KiB
122 KiB