From f8a2172d4214203a6d95c734147191c17da6e150 Mon Sep 17 00:00:00 2001 From: Boris Chiou Date: Mon, 20 May 2019 23:42:56 +0000 Subject: [PATCH] style: Make offset-distance animatable. Use ComputedValue to animate offset-distance. Differential Revision: https://phabricator.services.mozilla.com/D30584 --- components/style/properties/longhands/box.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/longhands/box.mako.rs b/components/style/properties/longhands/box.mako.rs index a5c3b38b34d..bddc56da848 100644 --- a/components/style/properties/longhands/box.mako.rs +++ b/components/style/properties/longhands/box.mako.rs @@ -413,7 +413,7 @@ ${helpers.predefined_type( "LengthPercentage", "computed::LengthPercentage::zero()", products="gecko", - animation_value_type="none", + animation_value_type="ComputedValue", gecko_pref="layout.css.motion-path.enabled", spec="https://drafts.fxtf.org/motion-1/#offset-distance-property", servo_restyle_damage="reflow_out_of_flow"