mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
813855dd9b
This patch changes the inheritance of ElementPropertyTransition so that it is a subclass of Animation not AnimationPlayer. The only thing special about ElementPropertyTransition is it stores some extra state for reversing transitions and an extra ValuePortionFor convenience method. This reversing behavior is implemented by the transition manager by creating a new AnimationPlayer (i.e. it is *not* a property of the AnimationPlayer). As a result this extra state can be pushed down to Animation which simplifies the code significantly. In future if we implement KeyframeEffect as a separate object we may be able to push transition-specific state down to KeyframeEffect instead. |
||
---|---|---|
.. | ||
test | ||
Animation.cpp | ||
Animation.h | ||
AnimationPlayer.cpp | ||
AnimationPlayer.h | ||
AnimationTimeline.cpp | ||
AnimationTimeline.h | ||
moz.build |