| <script src="../resources/js-test-pre.js"></script> |
| animation: move 0.2s 2 linear; |
| description('Tests that animation events are not cancelable.'); |
| var box = document.getElementById('box'); |
| box.addEventListener('animationstart', function(event) { |
| shouldBe('event.cancelable', 'false'); |
| box.addEventListener('animationiteration', function(event) { |
| shouldBe('event.cancelable', 'false'); |
| box.addEventListener('animationend', function(event) { |
| shouldBe('event.cancelable', 'false'); |
| box.classList.add('running'); |
| <script src="../resources/js-test-post.js"></script> |