Run the auto align start time procedure before checking if animation is ready.
Currently we run the procedure when ticking animations after adding animations to a timeline or after a scroll or resize event.
However, this does not update the start time when playing or pausing an existing animation.
If we don't run the procedure here, tests can time out under some conditions, as the animation will never be ready. This can happen in the play-animation test.
No tests should be affected by this PR, but fixing this is a precondition for fixing other issues.
Run the auto align start time procedure before checking if animation is ready.
Currently we run the procedure when ticking animations after adding animations to a timeline or after a scroll or resize event. However, this does not update the start time when playing or pausing an existing animation.
If we don't run the procedure here, tests can time out under some conditions, as the animation will never be ready. This can happen in the play-animation test.
No tests should be affected by this PR, but fixing this is a precondition for fixing other issues.