Don't set transition properties to mAnimations array.

This commit is contained in:
Hiroyuki Ikezoe 2017-03-13 12:42:01 +09:00
parent a2f9e23c6b
commit c9b0ea314f

View file

@ -1323,7 +1323,7 @@ fn static_assert() {
pub fn ${type}_${ident}_at(&self, index: usize)
-> longhands::${type}_${ident}::computed_value::SingleComputedValue {
use values::specified::Time;
Time(self.gecko.mAnimations[index].m${gecko_ffi_name} / 1000.)
Time(self.gecko.m${type.capitalize()}s[index].m${gecko_ffi_name} / 1000.)
}
${impl_animation_or_transition_count(type, ident, gecko_ffi_name)}
${impl_copy_animation_or_transition_value(type, ident, gecko_ffi_name)}