Changeset 150862 in webkit
- Timestamp:
- May 28, 2013 8:14:10 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r150857 r150862 1 2013-05-28 Dean Jackson <dino@apple.com> 2 3 Animations do not restart after exiting page cache 4 https://bugs.webkit.org/show_bug.cgi?id=116900 5 6 Reviewed by Tim Horton. 7 8 New test to make sure an animation will resume if it 9 enters and leaves the page cache. 10 11 * animations/resources/page-cache-helper.html: Added. 12 * animations/resume-after-page-cache-expected.txt: Added. 13 * animations/resume-after-page-cache.html: Added. 14 1 15 2013-05-28 Brent Fulgham <bfulgham@apple.com> 2 16 -
trunk/Source/WebCore/ChangeLog
r150856 r150862 1 2013-05-28 Dean Jackson <dino@apple.com> 2 3 Animations do not restart after exiting page cache 4 https://bugs.webkit.org/show_bug.cgi?id=116900 5 6 Reviewed by Tim Horton. 7 8 Animations are suspended as they enter the page cache, but 9 were not getting correctly resumed when exiting. The cause 10 was an error in r149576 which was checking a global flag for suspension 11 on the AnimationController and thus not trying to resume anything. 12 13 Test: animations/resume-after-page-cache.html 14 15 * page/animation/AnimationController.cpp: 16 (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument): 17 (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument): 18 1 19 2013-05-28 Chris Rogers <crogers@google.com> 2 20 -
trunk/Source/WebCore/page/animation/AnimationController.cpp
r149980 r150862 293 293 void AnimationControllerPrivate::suspendAnimationsForDocument(Document* document) 294 294 { 295 if (isSuspended())296 return;297 298 295 setBeginAnimationUpdateTime(cBeginAnimationUpdateTimeNotSet); 299 296 … … 312 309 void AnimationControllerPrivate::resumeAnimationsForDocument(Document* document) 313 310 { 314 if (!isSuspended())315 return;316 317 311 setBeginAnimationUpdateTime(cBeginAnimationUpdateTimeNotSet); 318 312
Note: See TracChangeset
for help on using the changeset viewer.