Further changes required by Servo

This commit is contained in:
Oriol Brufau 2023-11-17 17:49:01 +01:00 committed by Martin Robinson
parent e91a0d8b96
commit a523fffc9e

View file

@ -255,7 +255,12 @@ impl ImportRule {
.ok()
};
let supports = if !static_prefs::pref!("layout.css.import-supports.enabled") {
#[cfg(feature = "gecko")]
let supports_enabled = static_prefs::pref!("layout.css.import-supports.enabled");
#[cfg(feature = "servo")]
let supports_enabled = false;
let supports = if !supports_enabled {
None
} else {
input