diff --git a/components/style/properties/helpers/animated_properties.mako.rs b/components/style/properties/helpers/animated_properties.mako.rs index c353f66ff3c..4f2d0c0b574 100644 --- a/components/style/properties/helpers/animated_properties.mako.rs +++ b/components/style/properties/helpers/animated_properties.mako.rs @@ -2100,7 +2100,7 @@ impl ComputeDistance for AnimationValue { match (self, other) { % for prop in data.longhands: % if prop.animatable: - % if prop.animation_value_type == "normal": + % if prop.animation_value_type != "discrete": (&AnimationValue::${prop.camel_case}(ref from), &AnimationValue::${prop.camel_case}(ref to)) => { from.compute_distance(to)