servo/components/style/gecko
Oriol Brufau e23a8bf0ad style: Add attribute names to the bloom filter
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
2023-05-16 23:40:23 +02:00
..
arc_types.rs style: Use ArcSlice for quotes. 2019-05-29 16:14:10 +02:00
boxed_types.rs Implement Animation.commitStyles. 2019-05-29 16:14:16 +02:00
conversions.rs style: Reformat recent changes. 2020-04-16 17:50:17 +02:00
data.rs style: Share CascadeData instances across ShadowRoots 2023-05-16 13:00:08 +02:00
media_features.rs style: Remove -moz-proton-infobars media query support 2023-05-16 23:15:26 +02:00
media_queries.rs Simplify our setup for font metric queries from style 2023-05-11 21:02:15 +02:00
mod.rs style: Remove nsCSSValue bindings. 2019-05-29 16:14:14 +02:00
non_ts_pseudo_class_list.rs style: Implement :user-valid and :user-invalid. 2021-02-26 16:44:05 +01:00
profiler.rs Stylo: replace uses of mem::uninitialized with MaybeUninit 2019-07-16 08:03:54 +02:00
pseudo_element.rs style: Remove layout.css.file-selector-button.enabled pref. 2021-02-26 16:44:05 +01:00
pseudo_element_definition.mako.rs style: Remove layout.css.unknown-webkit-pseudo-element. 2021-02-26 16:44:05 +01:00
regen_atoms.py Standardize on Black for Python code in mozilla-central. 2021-02-26 16:44:05 +01:00
restyle_damage.rs style: Speed up custom property diffing. 2021-02-26 16:44:05 +01:00
selector_parser.rs style: Add attribute names to the bloom filter 2023-05-16 23:40:23 +02:00
snapshot.rs style: Avoid some allocations in selector serialization. 2021-02-26 16:44:05 +01:00
snapshot_helpers.rs Rustfmt. 2021-02-26 16:44:05 +01:00
traversal.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
url.rs Rustfmt. 2021-02-26 16:44:05 +01:00
values.rs style: Use cbindgen for content property. 2020-02-12 02:43:08 +01:00
wrapper.rs style: Add attribute names to the bloom filter 2023-05-16 23:40:23 +02:00