| Index: third_party/WebKit/LayoutTests/animations/compositor-start-event-timing.html
|
| diff --git a/third_party/WebKit/LayoutTests/animations/compositor-start-event-timing.html b/third_party/WebKit/LayoutTests/animations/compositor-start-event-timing.html
|
| deleted file mode 100644
|
| index e12b8b7cb7751f65e5a48a782fd5ea2d48b83388..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/animations/compositor-start-event-timing.html
|
| +++ /dev/null
|
| @@ -1,53 +0,0 @@
|
| -<!doctype html>
|
| -<script src="../resources/testharness.js"></script>
|
| -<script src="../resources/testharnessreport.js"></script>
|
| -<style>
|
| -.start {
|
| - animation: anim 1ms;
|
| -}
|
| -
|
| -@keyframes anim {
|
| - 0% {
|
| - transform: translate3d(0, 0, 1px);
|
| - }
|
| - 100% {
|
| - transform: translate3d(0, 0, 0);
|
| - }
|
| -}
|
| -</style>
|
| -<body>x
|
| -<script>
|
| -'use strict';
|
| -async_test(function(t) {
|
| -
|
| - requestAnimationFrame(function() {
|
| - document.body.classList.add('start');
|
| -
|
| - // Force a style resolve, to ensure the animation is created.
|
| - document.body.offsetTop;
|
| -
|
| - var animation = document.body.getAnimations()[0];
|
| - setTimeout(function() {
|
| - if (animation.playState === 'pending') {
|
| - var passed = false;
|
| - document.body.addEventListener('animationstart', function() {
|
| - passed = true;
|
| - });
|
| - document.body.addEventListener('animationend', function() {
|
| - t.step(function() {
|
| - assert_true(passed);
|
| - t.done();
|
| - });
|
| - });
|
| - } else {
|
| - // The animation is no longer pending.
|
| -
|
| - // We missed the opportunity to add a start event listener
|
| - // before the animation started. This test might flakily
|
| - // pass even if the implementation is incorrect.
|
| - t.done();
|
| - }
|
| - }, 0);
|
| - });
|
| -});
|
| -</script>
|
|
|