diff --git a/components/style/properties/longhand/box.mako.rs b/components/style/properties/longhand/box.mako.rs index 857d7b4d58c..531096dcf3b 100644 --- a/components/style/properties/longhand/box.mako.rs +++ b/components/style/properties/longhand/box.mako.rs @@ -721,7 +721,7 @@ ${helpers.predefined_type("scroll-snap-destination", products="gecko", boxed="True", spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-destination)", - animation_value_type="ComputedValue")} + animation_value_type="discrete")} ${helpers.predefined_type( "scroll-snap-coordinate", @@ -730,7 +730,7 @@ ${helpers.predefined_type( vector=True, products="gecko", spec="Nonstandard (https://developer.mozilla.org/en-US/docs/Web/CSS/scroll-snap-destination)", - animation_value_type="ComputedValue", + animation_value_type="discrete", allow_empty="NotInitial" )}