diff --git a/components/style/font_face.rs b/components/style/font_face.rs index 381ea00bc1e..d9c547a1e18 100644 --- a/components/style/font_face.rs +++ b/components/style/font_face.rs @@ -562,7 +562,7 @@ impl Parse for Source { }; // Parse optional tech() - let tech_flags = if input + let tech_flags = if static_prefs::pref!("layout.css.font-tech.enabled") && input .try_parse(|input| input.expect_function_matching("tech")) .is_ok() {