From 3616e4240fd6e2eda1710531632770a36a820b0e Mon Sep 17 00:00:00 2001 From: Hiroyuki Ikezoe Date: Fri, 3 Mar 2017 08:17:33 +0900 Subject: [PATCH] Pass transition-timing-function into gecko struct. --- components/style/properties/gecko.mako.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/components/style/properties/gecko.mako.rs b/components/style/properties/gecko.mako.rs index e8ba39fa9e1..0a2ffb1c4cb 100644 --- a/components/style/properties/gecko.mako.rs +++ b/components/style/properties/gecko.mako.rs @@ -622,7 +622,6 @@ impl Debug for ${style_struct.gecko_struct_name} { force_stub += ["flex-basis", # position # transition - "transition-timing-function", "transition-property", ] @@ -1368,6 +1367,10 @@ fn static_assert() { ${impl_copy_animation_or_transition_value('animation', ident, gecko_ffi_name)} +<%def name="impl_transition_timing_function()"> + ${impl_animation_or_transition_timing_function('transition')} + + <%def name="impl_animation_count(ident, gecko_ffi_name)"> ${impl_animation_or_transition_count('animation', ident, gecko_ffi_name)} @@ -1421,6 +1424,7 @@ fn static_assert() { animation-direction animation-fill-mode animation-play-state animation-iteration-count animation-timing-function transition-duration transition-delay + transition-timing-function page-break-before page-break-after scroll-snap-points-x scroll-snap-points-y transform scroll-snap-type-y scroll-snap-coordinate @@ -1766,6 +1770,7 @@ fn static_assert() { ${impl_transition_time_value('delay', 'Delay')} ${impl_transition_time_value('duration', 'Duration')} + ${impl_transition_timing_function()} pub fn set_animation_name(&mut self, v: longhands::animation_name::computed_value::T) { use nsstring::nsCString;