| Index: third_party/WebKit/LayoutTests/animations/animation-iteration-event-short-iterations.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/animation-iteration-event-short-iterations.html b/third_party/WebKit/LayoutTests/animations/animation-iteration-event-short-iterations.html
|
| index e5fd77f6d54760fa5dfbb075fc226ead2dc5ab7a..08c83509a90fdf827a50522b8dcefe79411e96c2 100644
|
| --- a/third_party/WebKit/LayoutTests/animations/animation-iteration-event-short-iterations.html
|
| +++ b/third_party/WebKit/LayoutTests/animations/animation-iteration-event-short-iterations.html
|
| @@ -9,12 +9,12 @@
|
| top: 10px;
|
| height: 100px;
|
| width: 100px;
|
| - -webkit-animation-duration: 0.001s;
|
| - -webkit-animation-name: anim;
|
| + animation-duration: 0.001s;
|
| + animation-name: anim;
|
| background-color: #999;
|
| - -webkit-animation-iteration-count: 10;
|
| + animation-iteration-count: 10;
|
| }
|
| - @-webkit-keyframes anim {
|
| + @keyframes anim {
|
| from { left: 200px; }
|
| to { left: 300px; }
|
| }
|
| @@ -26,21 +26,21 @@
|
| }
|
|
|
| function fail() {
|
| - document.getElementById('result').innerHTML = 'FAIL: Got ' + count + ' webkitAnimationCount events';
|
| + document.getElementById('result').innerHTML = 'FAIL: Got ' + count + ' animationCount events';
|
| }
|
|
|
| var count = 0;
|
| onload = function()
|
| {
|
| - document.addEventListener('webkitAnimationIteration', function() {
|
| + document.addEventListener('animationIteration', function() {
|
| ++count;
|
| }, false);
|
|
|
| - document.addEventListener('webkitAnimationEnd', function() {
|
| + document.addEventListener('animationend', function() {
|
| // We collapse all iteration events that occur within a single
|
| // frame into a single event. See http://crbug.com/275263.
|
| if (count < 10)
|
| - document.getElementById('result').innerHTML = 'PASS: Got a reasonable number of webkitAnimationCount events';
|
| + document.getElementById('result').innerHTML = 'PASS: Got a reasonable number of animationCount events';
|
| else
|
| fail();
|
| if (window.testRunner)
|
| @@ -56,6 +56,6 @@
|
| </head>
|
| <body>
|
| Tests that iteration events are fired when the duration is very short.
|
| -<pre id="result">FAIL: No webkitAnimationEnd event received</pre>
|
| +<pre id="result">FAIL: No animationend event received</pre>
|
| </body>
|
| </html>
|
|
|