summaryrefslogtreecommitdiffstats
path: root/servo/components/style/properties/shorthands/font.mako.rs
diff options
context:
space:
mode:
Diffstat (limited to 'servo/components/style/properties/shorthands/font.mako.rs')
-rw-r--r--servo/components/style/properties/shorthands/font.mako.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/servo/components/style/properties/shorthands/font.mako.rs b/servo/components/style/properties/shorthands/font.mako.rs
index 17dcf9d926..aaf0895aa5 100644
--- a/servo/components/style/properties/shorthands/font.mako.rs
+++ b/servo/components/style/properties/shorthands/font.mako.rs
@@ -7,7 +7,7 @@
<%helpers:shorthand
name="font"
- engines="gecko servo-2013 servo-2020"
+ engines="gecko servo"
sub_properties="
font-style
font-variant-caps
@@ -321,7 +321,8 @@
</%helpers:shorthand>
<%helpers:shorthand name="font-variant"
- engines="gecko servo-2013"
+ engines="gecko servo"
+ servo_pref="layout.legacy_layout",
flags="SHORTHAND_IN_GETCS"
sub_properties="font-variant-caps
${'font-variant-alternates' if engine == 'gecko' else ''}