| Index: third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html b/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html
|
| index 6e23d58694d02ebf97e9641d24d65ee3c34e5fae..20fc1c9ccd42c16742db3ab258d52ad6946a8d73 100644
|
| --- a/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html
|
| +++ b/third_party/WebKit/LayoutTests/animations/display-change-does-not-terminate-animation.html
|
| @@ -9,10 +9,10 @@
|
| background-color: blue;
|
| }
|
| .animated {
|
| - -webkit-animation: test 10s linear;
|
| + animation: test 10s linear;
|
| animation: test 10s linear;
|
| }
|
| - @-webkit-keyframes test {
|
| + @keyframes test {
|
| from { left: 100px; }
|
| to { left: 200px; }
|
| }
|
| @@ -36,14 +36,14 @@
|
| var target;
|
| function go() {
|
| target = document.getElementById('target');
|
| - target.addEventListener('webkitAnimationStart', onStart);
|
| + target.addEventListener('animationstart', onStart);
|
| target.classList.add('animated');
|
| }
|
|
|
| function onStart(e) {
|
| log('INFO: Start event fired');
|
| - target.removeEventListener('webkitAnimationStart', onStart);
|
| - target.addEventListener('webkitAnimationStart', onRestart);
|
| + target.removeEventListener('animationstart', onStart);
|
| + target.addEventListener('animationstart', onRestart);
|
| setTimeout(setDisplay.bind(null, 0), 20);
|
| }
|
|
|
|
|