-
cmarrin@apple.com authored
Reviewed by Simon Fraser. When animations are paused, play-state can cause them to be unpaused. https://bugs.webkit.org/show_bug.cgi?id=46525 I Changed updatePlayState() to only unpause when both play-state is "running" and not suspended. Likewise I pause animation when either play-state is "paused" or suspended. Test: animations/play-state-suspend.html * page/animation/AnimationBase.cpp: (WebCore::AnimationBase::updatePlayState): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
8df562c9