gecko-dev/servo
Emilio Cobos Álvarez 7bd3a20ff4 Bug 1728851 - Add attributes to the rule hash. r=boris
See the discussion here: https://twitter.com/Rich_Harris/status/1433153204678799365

This should make attribute selectors roughly as fast as class selectors.

I think it's worth trying and see if perf bots complain on
micro-benchmarks and stylebench and such.

I made attributes more specific than local names, but less specific than
classes, which I think makes sense. When doing something like
foo[data-bar], filtering by data-bar seems likely to yield less elements
than filtering by foo.

While at it, remove the bloom filter pref since we shipped it in
bug 1704551 for 87 and we haven't heard complaints.

Differential Revision: https://phabricator.services.mozilla.com/D124383
2021-09-03 15:57:30 +00:00
..
components Bug 1728851 - Add attributes to the rule hash. r=boris 2021-09-03 15:57:30 +00:00
ports/geckolib Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
tests/unit Bug 1728617 - Tweak at-rule parsing APIs to support cascade layers. r=boris 2021-09-03 09:26:10 +00:00
moz.build
rustfmt.toml