diff --git a/components/style/properties/helpers/animated_properties.mako.rs b/components/style/properties/helpers/animated_properties.mako.rs index a03d55070aa..857c0b10491 100644 --- a/components/style/properties/helpers/animated_properties.mako.rs +++ b/components/style/properties/helpers/animated_properties.mako.rs @@ -853,6 +853,7 @@ impl Animatable for Option (&Some(ref this), &Some(ref other)) => { this.compute_squared_distance(other) }, + (&None, &None) => Ok(0.0), _ => Err(()), } }