mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
75670f2118
This patch moves code from AnimationPlayerCollection to AnimationPlayer. However, there is one subtle change in logic involved. Previously, we would test if the player had finished by getting the computed time of its source content and checking if it was in the after phase or not. In this patch, however, we simply check the play state to see if it is finished or not. These two approaches differ in the case where an animation is paused after it has finished. The animation phase approach will indicate the player has finished, but the play state approach will indicate the player has paused (since the "paused" state trumps the "finished" state). This, however, should not produce any observable effect because when an animation is paused mIsRunningOnCompositor will be false (we don't put paused animations on the compositor). |
||
---|---|---|
.. | ||
analysis | ||
base | ||
build | ||
doc | ||
forms | ||
generic | ||
inspector | ||
ipc | ||
mathml | ||
media | ||
printing | ||
reftests | ||
style | ||
svg | ||
tables | ||
tools | ||
xul | ||
moz.build |