mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Safari does this. This reduces the runtime in the example linked from comment 0 quite a lot (40ms on a local opt build, from ~130ms on a release nightly build). I added a pref because there's a slight chance of performance regressions on pages that do not use attribute selectors, as we're now doing more unconditional work per element (adding the attributes to the bloom filter). But the trade-off should be worth it, I think. Differential Revision: https://phabricator.services.mozilla.com/D111689 |
||
---|---|---|
.. | ||
arc_types.rs | ||
boxed_types.rs | ||
conversions.rs | ||
data.rs | ||
media_features.rs | ||
media_queries.rs | ||
mod.rs | ||
non_ts_pseudo_class_list.rs | ||
profiler.rs | ||
pseudo_element.rs | ||
pseudo_element_definition.mako.rs | ||
regen_atoms.py | ||
restyle_damage.rs | ||
selector_parser.rs | ||
snapshot.rs | ||
snapshot_helpers.rs | ||
traversal.rs | ||
url.rs | ||
values.rs | ||
wrapper.rs |