From 0063b91cd3aa674466f3a2505edab5effbcb5828 Mon Sep 17 00:00:00 2001 From: Gregory Pappas Date: Mon, 23 Oct 2023 12:23:26 +0000 Subject: [PATCH] Bug 1851090 - Remove layout.css.bucket-attribute-names.enabled pref r=emilio Differential Revision: https://phabricator.services.mozilla.com/D191571 --- modules/libpref/init/StaticPrefList.yaml | 8 -------- servo/components/style/selector_map.rs | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/modules/libpref/init/StaticPrefList.yaml b/modules/libpref/init/StaticPrefList.yaml index 0d4491bed675..81304d21274d 100644 --- a/modules/libpref/init/StaticPrefList.yaml +++ b/modules/libpref/init/StaticPrefList.yaml @@ -8231,14 +8231,6 @@ mirror: always rust: true -# Whether the rule hash is applied to attribute names too, not -# only classes / id / namespaces / etc. -- name: layout.css.bucket-attribute-names.enabled - type: RelaxedAtomicBool - value: true - mirror: always - rust: true - # Set the number of device pixels per CSS pixel. A value <= 0 means choose # automatically based on user settings for the platform (e.g., "UI scale factor" # on Mac). If browser.display.os-zoom-behavior == 1, then a positive value diff --git a/servo/components/style/selector_map.rs b/servo/components/style/selector_map.rs index e758fc7079d2..ddc75b8a1fb5 100644 --- a/servo/components/style/selector_map.rs +++ b/servo/components/style/selector_map.rs @@ -153,7 +153,7 @@ impl SelectorMap { namespace_hash: HashMap::default(), rare_pseudo_classes: SmallVec::new(), other: SmallVec::new(), - bucket_attributes: static_prefs::pref!("layout.css.bucket-attribute-names.enabled"), + bucket_attributes: true, count: 0, } }