Patch by Young Han Lee <joybro@company100.net> on 2011-07-11
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jul 2011 18:20:23 +0000 (18:20 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 11 Jul 2011 18:20:23 +0000 (18:20 +0000)
commitd338fbd021ecdcc4b6154d93212a8511876cfc4d
treea84c305f753b3565c2a0d80075c203172e8ccdbc
parente87465e81c2251a73cda3dd0cb14dd5b7505e713
Patch by Young Han Lee <joybro@company100.net> on 2011-07-11
Reviewed by Simon Fraser.

Transition LayoutTest using pause API shows wrong result if it tries to pause a transition after its delay time.
https://bugs.webkit.org/show_bug.cgi?id=63859

The existing code to set the m_startTime haven't worked because
the animation is not the right state to accept the start event.
This patch just sets the values directly instead of using event.

Source/WebCore:

Test: transitions/delay.html

* page/animation/AnimationBase.cpp:
(WebCore::AnimationBase::freezeAtTime):

LayoutTests:

* transitions/delay-expected.txt: Added.
* transitions/delay.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@90765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/transitions/delay-expected.txt [new file with mode: 0644]
LayoutTests/transitions/delay.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/animation/AnimationBase.cpp