User:Shellylin/CSS Animations and Transitions: Difference between revisions

Line 16: Line 16:
** This method is called whem building an animation segment, starting a transition, or a style context change for transition.
** This method is called whem building an animation segment, starting a transition, or a style context change for transition.
* Adds a CommonElementAnimationData with ''AddElementData()''.
* Adds a CommonElementAnimationData with ''AddElementData()''.
----
----------------------------------------------------------------------------
'''class CommonElementAnimationData'''
* Keeps track of with dom::Element is animating/transitiioning.
* Stores the list of element properties.
* Keeps track of the number of animation 'mini-flushes' with mAnimationGeneration and UpdateAnimationGeneration().
----
----------------------------------------------------------------------------
'''class ComputedTimingFunction'''
* Init and compute the corresponding timing function.
----
----------------------------------------------------------------------------
'''class AnimValuesStyleRule'''
* A style rule that maps property-nsStyleAnimation::Value pairs.
* It is created in EnsureStyleRuleFor() if it is null.
* For cheking if it the style context has changed.


== Overview of how they work ==
== Overview of how they work ==
Confirmed users
220

edits