Confirmed users
220
edits
Line 70: | Line 70: | ||
=== nsAnimationManager.h === | === nsAnimationManager.h === | ||
'''class nsAnimationManager''' | |||
* Subclass of CommonAnimationManager. | |||
* EnsureStyleRuleFor(ElementAnimations* aET) | |||
** Calls the EnsureStyleruleFor() of this ElementAnimations. | |||
** Called by transition-manager. | |||
* CheckAnimationRule() | |||
** Return the style rule that RulesMatching should add for aStyleContext. This might be different from what RulesMatching actually added during aStyleContext's construction because the element's animation-name may have changed. | |||
** Called by nsStyleSet::GetContext(). | |||
* FlushAnimations() | |||
** Calls the EnsureStyleRuleFor() of its animation-elements. | |||
---- | |||
'''struct ElementAnimation''' | |||
* Data about one animation (i.e., one of the values of 'animation-name') running on an element. | |||
---- | |||
'''class ElementAnimations''' | |||
* Subclass of CommonElementAnimationData. | |||
* EnsureStyleRuleFor() | |||
** Interpolate the style value. | |||
* mAnimations holds an array of ElementAnimation. | |||
== What's Next == | == What's Next == |