Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-05-26 22:55:23 +02:00
parent 017036dba8
commit 9822db5d3c
4 changed files with 18 additions and 5 deletions

View file

@ -137,7 +137,10 @@ impl<T: 'static> SelectorMap<T> {
local_name_hash: HashMap::default(),
namespace_hash: HashMap::default(),
other: SmallVec::new(),
#[cfg(feature = "gecko")]
bucket_attributes: static_prefs::pref!("layout.css.bucket-attribute-names.enabled"),
#[cfg(feature = "servo")]
bucket_attributes: false,
count: 0,
}
}