diff --git a/components/style/properties/longhands/position.mako.rs b/components/style/properties/longhands/position.mako.rs index d757e5663d9..70459cdfe72 100644 --- a/components/style/properties/longhands/position.mako.rs +++ b/components/style/properties/longhands/position.mako.rs @@ -465,7 +465,6 @@ ${helpers.predefined_type( )} % for (size, logical) in ALL_SIZES: - // FIXME: Bug 1778296, "contain-intrinsic-*" properties should be animatable. ${helpers.predefined_type( "contain-intrinsic-" + size, "ContainIntrinsicSize", @@ -475,6 +474,6 @@ ${helpers.predefined_type( logical=logical, gecko_pref="layout.css.contain-intrinsic-size.enabled", spec="https://drafts.csswg.org/css-sizing-4/#intrinsic-size-override", - animation_value_type="none", + animation_value_type="NonNegativeLength", )} % endfor diff --git a/components/style/values/generics/box.rs b/components/style/values/generics/box.rs index 218afd477fc..b64852e645a 100644 --- a/components/style/values/generics/box.rs +++ b/components/style/values/generics/box.rs @@ -88,6 +88,8 @@ impl ToAnimatedZero for VerticalAlign { PartialEq, SpecifiedValueInfo, ToComputedValue, + ToAnimatedValue, + ToAnimatedZero, ToResolvedValue, ToShmem, )]