haikuwebkit/LayoutTests/animations/animation-controller-drt-ap...

5 lines
151 B
Plaintext
Raw Permalink Normal View History

2009-01-06 Pierre-Olivier Latour <pol@apple.com> Reviewed by Darin Adler. Added new API on AnimationController::numberOfActiveAnimations() to be used by DRT. https://bugs.webkit.org/show_bug.cgi?id=23126 Test: animations/animation-controller-drt-api.html * WebCore.base.exp: * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::numberOfActiveAnimations): (WebCore::AnimationController::numberOfActiveAnimations): * page/animation/AnimationController.h: * page/animation/CompositeAnimation.cpp: (WebCore::CompositeAnimationPrivate::numberOfActiveAnimations): (WebCore::CompositeAnimation::numberOfActiveAnimations): * page/animation/CompositeAnimation.h: Exposed through WebFrame private interface the new WebCore API AnimationController::numberOfActiveAnimations() to be used by DRT. https://bugs.webkit.org/show_bug.cgi?id=23126 * WebView/WebFrame.mm: (-[WebFrame _numberOfActiveAnimations]): * WebView/WebFramePrivate.h: Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations. This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore. https://bugs.webkit.org/show_bug.cgi?id=23126 * DumpRenderTree/LayoutTestController.cpp: (numberOfActiveAnimationsCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::numberOfActiveAnimations): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::numberOfActiveAnimations): Reviewed by Darin Adler. Added layout test for new DRT API numberOfActiveAnimations(). https://bugs.webkit.org/show_bug.cgi?id=23126 * animations/animation-controller-drt-api-expected.txt: Added. * animations/animation-controller-drt-api.html: Added. * platform/win/Skipped: Canonical link: https://commits.webkit.org/31868@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-01-07 01:59:04 +00:00
Test for DRT numberOfActiveAnimations() API
2009-01-08 Pierre-Olivier Latour <pol@apple.com> Reviewed by Dan Bernstein. Fixed CSS Transitions with zero-duration but non-zero-delay not starting or ending properly. Also updated AnimationController::numberOfActiveAnimations() which now returns the number of "active" animations, instead of simply the "running" ones. https://bugs.webkit.org/show_bug.cgi?id=23177 Tests: transitions/zero-duration-with-non-zero-delay-end.html transitions/zero-duration-with-non-zero-delay-start.html * page/animation/AnimationBase.cpp: (WebCore::AnimationBase::fireAnimationEventsIfNeeded): * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::animationTimerFired): * page/animation/CompositeAnimation.cpp: (WebCore::CompositeAnimationPrivate::numberOfActiveAnimations): Added layout tests for CSS Transitions with zero-duration but non-zero-delay. Also updated the layout test for DRT API numberOfActiveAnimations() which now returns the number of "active" animations, instead of simply the running ones. https://bugs.webkit.org/show_bug.cgi?id=23177 * animations/animation-controller-drt-api-expected.txt: * animations/animation-controller-drt-api.html: * platform/win/Skipped: * transitions/zero-duration-with-non-zero-delay-end-expected.txt: Added. * transitions/zero-duration-with-non-zero-delay-end.html: Added. * transitions/zero-duration-with-non-zero-delay-start-expected.txt: Added. * transitions/zero-duration-with-non-zero-delay-start.html: Added. Canonical link: https://commits.webkit.org/31910@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-01-08 18:24:47 +00:00
Number of active animations at 0s is (4) as expected
2009-01-06 Pierre-Olivier Latour <pol@apple.com> Reviewed by Darin Adler. Added new API on AnimationController::numberOfActiveAnimations() to be used by DRT. https://bugs.webkit.org/show_bug.cgi?id=23126 Test: animations/animation-controller-drt-api.html * WebCore.base.exp: * page/animation/AnimationController.cpp: (WebCore::AnimationControllerPrivate::numberOfActiveAnimations): (WebCore::AnimationController::numberOfActiveAnimations): * page/animation/AnimationController.h: * page/animation/CompositeAnimation.cpp: (WebCore::CompositeAnimationPrivate::numberOfActiveAnimations): (WebCore::CompositeAnimation::numberOfActiveAnimations): * page/animation/CompositeAnimation.h: Exposed through WebFrame private interface the new WebCore API AnimationController::numberOfActiveAnimations() to be used by DRT. https://bugs.webkit.org/show_bug.cgi?id=23126 * WebView/WebFrame.mm: (-[WebFrame _numberOfActiveAnimations]): * WebView/WebFramePrivate.h: Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations. This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore. https://bugs.webkit.org/show_bug.cgi?id=23126 * DumpRenderTree/LayoutTestController.cpp: (numberOfActiveAnimationsCallback): (LayoutTestController::staticFunctions): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/mac/LayoutTestControllerMac.mm: (LayoutTestController::numberOfActiveAnimations): * DumpRenderTree/win/LayoutTestControllerWin.cpp: (LayoutTestController::numberOfActiveAnimations): Reviewed by Darin Adler. Added layout test for new DRT API numberOfActiveAnimations(). https://bugs.webkit.org/show_bug.cgi?id=23126 * animations/animation-controller-drt-api-expected.txt: Added. * animations/animation-controller-drt-api.html: Added. * platform/win/Skipped: Canonical link: https://commits.webkit.org/31868@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2009-01-07 01:59:04 +00:00
Number of active animations at 1s is (4) as expected