diff --git a/components/style/properties/longhands/box.mako.rs b/components/style/properties/longhands/box.mako.rs index 3dd1e419b526..cc464740e2e2 100644 --- a/components/style/properties/longhands/box.mako.rs +++ b/components/style/properties/longhands/box.mako.rs @@ -427,7 +427,7 @@ ${helpers.predefined_type( "PositionOrAuto", "computed::PositionOrAuto::auto()", engines="gecko", - animation_value_type="none", + animation_value_type="ComputedValue", gecko_pref="layout.css.motion-path.enabled", spec="https://drafts.fxtf.org/motion-1/#offset-anchor-property", servo_restyle_damage="reflow_out_of_flow", diff --git a/components/style/values/generics/position.rs b/components/style/values/generics/position.rs index 41ccf8a59531..2742dd879136 100644 --- a/components/style/values/generics/position.rs +++ b/components/style/values/generics/position.rs @@ -45,13 +45,16 @@ impl Position { /// This is used by for now. /// https://drafts.fxtf.org/motion-1/#offset-anchor-property #[derive( + Animate, Clone, + ComputeSquaredDistance, Copy, Debug, MallocSizeOf, Parse, PartialEq, SpecifiedValueInfo, + ToAnimatedZero, ToComputedValue, ToCss, ToResolvedValue,