TinyAnimate Test Suite

Click all the Run buttons and see if the boxes animate in all the browsers.

1. Will test whether animate() works without the optional parameters

This test animates an SVG <rect> element. Easing is linear. Animation should take 500ms.

2. Will test whether animateCSS() works without the optional parameters

Easing should be linear. Animation should take 750ms.

3. Will test whether done() function gets called when completed

Easing should be easeInOutExpo. Animation should take 750ms. Box should turn green when done.

4. Will test all the easings

All easings should pass along. All animations should take 1s, and then 500ms pause to the next animation.

Current easing: none

5. Will test whether the global window.TinyAnimate is there

Easing should be easeInOutElastic. Animation should take 750ms.

6. Will test whether animating to a negative value will work

Easing should be linear. Initial animation should take 500ms, secondary animation 250ms.

Status: idle

7. Will test whether an animate can be cancelled

Easing should be linear. Animation should take 500ms to travel 100px, then stop.