mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Cascade animation-name property earlier than other animation properties.
As per the CSS Animations spec, in the case when multiple values for an animation property are set, if the value length is less than the length of animation-name property, then shortage values are filled up. Because of this we need to know the length of animation-name proper before we set other animation properties, so we need to cascade animation-name property earlier than other animation properties. We do the same thing for transition-property.
This commit is contained in:
parent
c9b0ea314f
commit
448b74ba18
1 changed files with 2 additions and 0 deletions
|
@ -1957,6 +1957,8 @@ pub fn apply_declarations<'a, F, I>(viewport_size: Size2D<Au>,
|
|||
PropertyDeclaration::Direction(_)
|
||||
% if product == 'gecko':
|
||||
| PropertyDeclaration::TextOrientation(_)
|
||||
| PropertyDeclaration::AnimationName(_)
|
||||
| PropertyDeclaration::TransitionProperty(_)
|
||||
% endif
|
||||
);
|
||||
if
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue