aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHiroyuki Ikezoe <hikezoe@mozilla.com>2017-03-03 08:17:33 +0900
committerHiroyuki Ikezoe <hikezoe@mozilla.com>2017-03-07 13:27:44 +0900
commit3616e4240fd6e2eda1710531632770a36a820b0e (patch)
tree78b73783d20c4d7bdac0ac3d41d2cb2fb55d446f
parentd61a2ff29e084ab4acfc57bd9946f3a3a535c13b (diff)
downloadservo-3616e4240fd6e2eda1710531632770a36a820b0e.tar.gz
servo-3616e4240fd6e2eda1710531632770a36a820b0e.zip
Pass transition-timing-function into gecko struct.
-rw-r--r--components/style/properties/gecko.mako.rs7
1 files changed, 6 insertions, 1 deletions
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>
+<%def name="impl_transition_timing_function()">
+ ${impl_animation_or_transition_timing_function('transition')}
+</%def>
+
<%def name="impl_animation_count(ident, gecko_ffi_name)">
${impl_animation_or_transition_count('animation', ident, gecko_ffi_name)}
</%def>
@@ -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;