diff --git a/animations/cascaded-animation.html b/animations/cascaded-animation.html index 5399753..4edc03c 100644 --- a/animations/cascaded-animation.html +++ b/animations/cascaded-animation.html @@ -58,7 +58,7 @@ var oldDelay = config.timing.delay; var abortedConfigure; for (var node, index = 0; node = nodes[index]; index++) { - config.timing.delay += nodeDelay; + config.timing.delay = oldDelay + nodeDelay * index; config.node = node; var animation = document.createElement(config.animation); diff --git a/test/cascaded-animation.html b/test/cascaded-animation.html new file mode 100644 index 0000000..1d1c8aa --- /dev/null +++ b/test/cascaded-animation.html @@ -0,0 +1,77 @@ + + + +
+ +