From d794c8527de161a91273dd2339f1763b4a073610 Mon Sep 17 00:00:00 2001 From: Boris Chiou Date: Tue, 20 Aug 2019 01:30:43 +0000 Subject: [PATCH] style: Clamp negative values for font-size-adjust animations. Differential Revision: https://phabricator.services.mozilla.com/D42586 --- components/style/properties/longhands/font.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/longhands/font.mako.rs b/components/style/properties/longhands/font.mako.rs index 148b6fe33f68..b4b2ab0598c8 100644 --- a/components/style/properties/longhands/font.mako.rs +++ b/components/style/properties/longhands/font.mako.rs @@ -80,7 +80,7 @@ ${helpers.predefined_type( engines="gecko", initial_value="computed::FontSizeAdjust::none()", initial_specified_value="specified::FontSizeAdjust::none()", - animation_value_type="ComputedValue", + animation_value_type="FontSizeAdjust", spec="https://drafts.csswg.org/css-fonts/#propdef-font-size-adjust", )}