mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Further changes required by Servo
This commit is contained in:
parent
e91a0d8b96
commit
a523fffc9e
1 changed files with 6 additions and 1 deletions
|
@ -255,7 +255,12 @@ impl ImportRule {
|
||||||
.ok()
|
.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
|
None
|
||||||
} else {
|
} else {
|
||||||
input
|
input
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue