mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Don't set transition properties to mAnimations array.
This commit is contained in:
parent
a2f9e23c6b
commit
c9b0ea314f
1 changed files with 1 additions and 1 deletions
|
@ -1323,7 +1323,7 @@ fn static_assert() {
|
||||||
pub fn ${type}_${ident}_at(&self, index: usize)
|
pub fn ${type}_${ident}_at(&self, index: usize)
|
||||||
-> longhands::${type}_${ident}::computed_value::SingleComputedValue {
|
-> longhands::${type}_${ident}::computed_value::SingleComputedValue {
|
||||||
use values::specified::Time;
|
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_animation_or_transition_count(type, ident, gecko_ffi_name)}
|
||||||
${impl_copy_animation_or_transition_value(type, ident, gecko_ffi_name)}
|
${impl_copy_animation_or_transition_value(type, ident, gecko_ffi_name)}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue