2010-10-26 Chris Marrin <cmarrin@apple.com>
authorcmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Oct 2010 19:11:58 +0000 (19:11 +0000)
committercmarrin@apple.com <cmarrin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 26 Oct 2010 19:11:58 +0000 (19:11 +0000)
commit35bf64bd29c067ee423db1c0562d87dec9314788
tree88d799d53c0f9cefd00d601d1c77279f8f087faa
parentd453dddb4f7fee5068c102d67c4c2925f3fe67ce
2010-10-26  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Resuming animations causes webkitAnimationStart events to be fired
        https://bugs.webkit.org/show_bug.cgi?id=46540

        Added a flag that makes sure start animation event is only ever
        fired once.

        Test: animations/suspend-resume-animation-events.html

        * page/animation/KeyframeAnimation.cpp:
        (WebCore::KeyframeAnimation::KeyframeAnimation):
        (WebCore::KeyframeAnimation::sendAnimationEvent):
        * page/animation/KeyframeAnimation.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@70553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/animations/suspend-resume-animation-events-expected.txt [new file with mode: 0644]
LayoutTests/animations/suspend-resume-animation-events.html [new file with mode: 0644]
WebCore/ChangeLog
WebCore/page/animation/KeyframeAnimation.cpp
WebCore/page/animation/KeyframeAnimation.h