| Index: third_party/WebKit/LayoutTests/web-animations-api/animation-cancel-event.html
|
| diff --git a/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-event.html b/third_party/WebKit/LayoutTests/web-animations-api/animation-cancel-event.html
|
| similarity index 79%
|
| rename from third_party/WebKit/LayoutTests/web-animations-api/player-cancel-event.html
|
| rename to third_party/WebKit/LayoutTests/web-animations-api/animation-cancel-event.html
|
| index 5aa72983565df194aede999c4863bf0cc770d989..57260498f94005af5d51e658f020849c637fc8b3 100644
|
| --- a/third_party/WebKit/LayoutTests/web-animations-api/player-cancel-event.html
|
| +++ b/third_party/WebKit/LayoutTests/web-animations-api/animation-cancel-event.html
|
| @@ -1,12 +1,15 @@
|
| <!DOCTYPE html>
|
| -<body>
|
| +<meta charset=utf-8>
|
| +<title>Canceling an animation: cancel event</title>
|
| +<link rel="help" href="https://w3c.github.io/web-animations/#canceling-an-animation-section">
|
| <script src="../resources/testharness.js"></script>
|
| <script src="../resources/testharnessreport.js"></script>
|
| +<body>
|
| <script>
|
| var anim1 = document.body.animate([], 100000);
|
| var anim2 = document.body.animate([], 100000);
|
|
|
| -var cancelTest = async_test('Cancelling animation should create cancel event.');
|
| +var cancelTest = async_test('Cancelling animation should fire a cancel event.');
|
| var fired = false;
|
|
|
| anim1.oncancel = function(event) {
|
| @@ -28,4 +31,3 @@ anim2.onfinish = function() {
|
| anim1.cancel();
|
| anim2.finish();
|
| </script>
|
| -</body>
|
|
|