WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
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
Details
Patch
(37.52 KB, patch)
2009-12-10 14:13 PST
,
Simon Fraser (smfr)
mitz: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2009-12-10 14:13:27 PST
Created
attachment 44638
[details]
Patch
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
<
rdar://problem/7443031
>
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
http://trac.webkit.org/changeset/52017
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug