| Index: LayoutTests/animations/events-with-short-duration-and-delay.html
|
| diff --git a/LayoutTests/animations/animation-end-event-short-iterations.html b/LayoutTests/animations/events-with-short-duration-and-delay.html
|
| similarity index 69%
|
| copy from LayoutTests/animations/animation-end-event-short-iterations.html
|
| copy to LayoutTests/animations/events-with-short-duration-and-delay.html
|
| index e84f4d505af3448b552079322d60b4f89da28fcf..9888f509dd7f4493b46f0b7c0d3569c05063088c 100644
|
| --- a/LayoutTests/animations/animation-end-event-short-iterations.html
|
| +++ b/LayoutTests/animations/events-with-short-duration-and-delay.html
|
| @@ -1,7 +1,7 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| - <title>Test animations with repeated iterations and short loops</title>
|
| + <title>Test events when the animation has a short duration and is delayed</title>
|
| <style>
|
| #box {
|
| position: relative;
|
| @@ -10,6 +10,7 @@
|
| height: 100px;
|
| width: 100px;
|
| -webkit-animation-duration: 0.001s;
|
| + -webkit-animation-delay: 0.001s;
|
| -webkit-animation-name: anim;
|
| background-color: #999;
|
| -webkit-animation-iteration-count: 2;
|
| @@ -27,8 +28,11 @@
|
|
|
| onload = function()
|
| {
|
| + document.addEventListener('webkitAnimationStart', function() {
|
| + document.getElementById('result').innerHTML = 'PASS: got webkitAnimationStart event';
|
| + }, false);
|
| document.addEventListener('webkitAnimationEnd', function() {
|
| - document.getElementById('result').innerHTML = 'PASS: got webkitAnimationEnd event';
|
| + document.getElementById('result').innerHTML += '<br>PASS: got webkitAnimationEnd event';
|
| if (window.testRunner)
|
| testRunner.notifyDone();
|
| }, false);
|
| @@ -41,8 +45,7 @@
|
| </script>
|
| </head>
|
| <body>
|
| -Checks that we still end an animation properly (i.e. fire a webkitAnimationEnd
|
| -event) when using more than one iteration with very short durations.
|
| -<pre id="result">FAIL: no webkitAnimationEnd event received</pre>
|
| +Test events when the animation has a short duration and is delayed.
|
| +<pre id="result">FAIL: No events received</pre>
|
| </body>
|
| </html>
|
|
|