RESOLVED FIXED 32387
Accelerated transitions broken when mixed with paused animations
https://bugs.webkit.org/show_bug.cgi?id=32387
Summary Accelerated transitions broken when mixed with paused animations
Simon Fraser (smfr)
Reported 2009-12-10 11:51:22 PST
Created attachment 44630 [details] Testcase The attached testcase shows a problem where paused animations interfere with hardware transitions. When you load the testcase, the outer box should animate left, animate right, then animate left again. The bug is that the last animation fails; it jumps left at the end.
Attachments
Testcase (1.71 KB, text/html)
2009-12-10 11:51 PST, Simon Fraser (smfr)
no flags
Patch (37.52 KB, patch)
2009-12-10 14:13 PST, Simon Fraser (smfr)
mitz: review+
Simon Fraser (smfr)
Comment 1 2009-12-10 14:13:27 PST
WebKit Review Bot
Comment 2 2009-12-10 14:17:48 PST
style-queue ran check-webkit-style on attachment 44638 [details] without any errors.
Simon Fraser (smfr)
Comment 3 2009-12-10 14:41:00 PST
mitz
Comment 4 2009-12-11 11:48:15 PST
Comment on attachment 44638 [details] Patch > m_startTime = param; > - > + > // Decide whether to go into looping or ending state Extra whitespace added there. > -void KeyframeAnimation::endAnimation(bool reset) > +void KeyframeAnimation::pauseAnimation(double timeOffset) > { > - if (m_object) { > + if (!m_object) > + return; > + > + fprintf(stderr, "pausing animation, offset %f\n", timeOffset); Please remove the fprintf. > + struct AnimationProcessingInfo { > + AnimationProcessingInfo(AnimationProcessingAction action = Remove, double timeOffset = 0) > + : action(action) > + , timeOffset(timeOffset) { } The braces should go each on its own separate line: { } Perhaps the struct should be called AnimationProcessingAction and the enum renamed to something else? Perhaps not.
Simon Fraser (smfr)
Comment 5 2009-12-11 12:58:52 PST
Note You need to log in before you can comment on or make changes to this bug.