From 4f193fbf4921cd48d7a00df0b3b734bb7090c4a4 Mon Sep 17 00:00:00 2001 From: Oriol Brufau Date: Sat, 27 May 2023 07:10:32 +0200 Subject: [PATCH] Further changes required by Servo --- components/style/values/computed/font.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/components/style/values/computed/font.rs b/components/style/values/computed/font.rs index 0306c88cb0f..18fbe8c6fd8 100644 --- a/components/style/values/computed/font.rs +++ b/components/style/values/computed/font.rs @@ -443,6 +443,7 @@ impl GenericFontFamily { /// When we disallow websites to override fonts, we ignore some generic /// families that the website might specify, since they're not configured by /// the user. See bug 789788 and bug 1730098. + #[cfg(feature = "gecko")] pub (crate) fn valid_for_user_font_prioritization(self) -> bool { match self { Self::None |