Skip to content

Commit 8c92285

Browse files
committed
Further changes required by Servo
1 parent 477287f commit 8c92285

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

components/style/stylesheets/import_rule.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,12 @@ impl ImportRule {
255255
.ok()
256256
};
257257

258-
let supports = if !static_prefs::pref!("layout.css.import-supports.enabled") {
258+
#[cfg(feature = "gecko")]
259+
let supports_enabled = static_prefs::pref!("layout.css.import-supports.enabled");
260+
#[cfg(feature = "servo")]
261+
let supports_enabled = false;
262+
263+
let supports = if !supports_enabled {
259264
None
260265
} else {
261266
input

0 commit comments

Comments
 (0)