From aaedf1cb84cad90e42657822be965508a95878dd Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Mon, 14 Aug 2017 17:25:41 +0900 Subject: [PATCH] Make scroll-snap-{coordinate, destination} discrete animation. --- components/style/properties/longhand/box.mako.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" )}