2008-12-10 Pierre-Olivier Latour <pol@apple.com>
authorpol@apple.com <pol@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Dec 2008 00:48:35 +0000 (00:48 +0000)
committerpol@apple.com <pol@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 11 Dec 2008 00:48:35 +0000 (00:48 +0000)
commit579e0d545bc562943d7435224c9f5ded793ad9b5
treec86dd12bbe6f5ffb9f48fded8d989cda9219f6de
parente24a8ee317d67f94b1bbd0b70528c48ea195795e
2008-12-10  Pierre-Olivier Latour  <pol@apple.com>

        Reviewed by Darin Adler.

        Rewrote animations/animation-test-helpers.js to take advantage of the pauseAnimationAtTimeOnElementWithId()
        API when available in DRT.

        Updated all animations tests that check for values of animated CSS properties to use these new helper functions.

        https://bugs.webkit.org/show_bug.cgi?id=22796

        * animations/animation-test-helpers.js:
        (isCloseEnough):
        (checkExpectedValue):
        (endTest):
        (startTest):
        (runAnimationTest):
        * animations/big-rotation-expected.txt:
        * animations/big-rotation.html:
        * animations/change-keyframes-expected.txt:
        * animations/change-keyframes-name-expected.txt:
        * animations/change-keyframes-name.html:
        * animations/change-keyframes.html:
        * animations/change-one-anim-expected.txt:
        * animations/change-one-anim.html:
        * animations/generic-from-to-expected.txt:
        * animations/generic-from-to.html:
        * animations/import-expected.txt:
        * animations/import.html:
        * animations/keyframe-timing-functions-expected.txt:
        * animations/keyframe-timing-functions.html:
        * animations/keyframes-comma-separated-expected.txt:
        * animations/keyframes-comma-separated.html:
        * animations/keyframes-expected.txt:
        * animations/keyframes-from-missing.html:
        * animations/keyframes-out-of-order-expected.txt:
        * animations/keyframes-out-of-order.html:
        * animations/keyframes-to-missing.html:
        * animations/keyframes.html:
        * animations/lineheight-animation-expected.txt:
        * animations/lineheight-animation.html:
        * animations/matrix-anim-expected.txt:
        * animations/matrix-anim.html:
        * animations/multiple-animations-expected.txt:
        * animations/multiple-animations.html:
        * animations/multiple-keyframes-expected.txt:
        * animations/multiple-keyframes.html:
        * animations/transition-and-animation-1-expected.txt:
        * animations/transition-and-animation-1.html:
        * animations/transition-and-animation-2-expected.txt:
        * animations/transition-and-animation-2.html:
        * animations/width-using-ems-expected.txt:
        * animations/width-using-ems.html:
        * platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
39 files changed:
LayoutTests/ChangeLog
LayoutTests/animations/animation-test-helpers.js
LayoutTests/animations/big-rotation-expected.txt
LayoutTests/animations/big-rotation.html
LayoutTests/animations/change-keyframes-expected.txt
LayoutTests/animations/change-keyframes-name-expected.txt
LayoutTests/animations/change-keyframes-name.html
LayoutTests/animations/change-keyframes.html
LayoutTests/animations/change-one-anim-expected.txt
LayoutTests/animations/change-one-anim.html
LayoutTests/animations/generic-from-to-expected.txt
LayoutTests/animations/generic-from-to.html
LayoutTests/animations/import-expected.txt
LayoutTests/animations/import.html
LayoutTests/animations/keyframe-timing-functions-expected.txt
LayoutTests/animations/keyframe-timing-functions.html
LayoutTests/animations/keyframes-comma-separated-expected.txt
LayoutTests/animations/keyframes-comma-separated.html
LayoutTests/animations/keyframes-expected.txt
LayoutTests/animations/keyframes-from-missing.html
LayoutTests/animations/keyframes-out-of-order-expected.txt
LayoutTests/animations/keyframes-out-of-order.html
LayoutTests/animations/keyframes-to-missing.html
LayoutTests/animations/keyframes.html
LayoutTests/animations/lineheight-animation-expected.txt
LayoutTests/animations/lineheight-animation.html
LayoutTests/animations/matrix-anim-expected.txt
LayoutTests/animations/matrix-anim.html
LayoutTests/animations/multiple-animations-expected.txt
LayoutTests/animations/multiple-animations.html
LayoutTests/animations/multiple-keyframes-expected.txt
LayoutTests/animations/multiple-keyframes.html
LayoutTests/animations/transition-and-animation-1-expected.txt
LayoutTests/animations/transition-and-animation-1.html
LayoutTests/animations/transition-and-animation-2-expected.txt
LayoutTests/animations/transition-and-animation-2.html
LayoutTests/animations/width-using-ems-expected.txt
LayoutTests/animations/width-using-ems.html
LayoutTests/platform/win/Skipped