| Index: third_party/WebKit/LayoutTests/web-animations-api/w3c/resources/keyframes-test.js
|
| diff --git a/third_party/WebKit/LayoutTests/web-animations-api/w3c/resources/keyframes-test.js b/third_party/WebKit/LayoutTests/web-animations-api/w3c/resources/keyframes-test.js
|
| deleted file mode 100644
|
| index 4613a3255a43c4e46e37a24fa7729bd6d942600d..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/web-animations-api/w3c/resources/keyframes-test.js
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -(function(){
|
| -'use strict'
|
| -
|
| -function createElement() {
|
| - var element = document.createElement('div');
|
| - document.documentElement.appendChild(element);
|
| - return element;
|
| -}
|
| -
|
| -function heldTiming(progress) {
|
| - return {
|
| - duration: 1000,
|
| - fill: 'forwards',
|
| - delay: -progress * 1000,
|
| - };
|
| -}
|
| -
|
| -function assertAnimationStyles(keyframes, expectations, description) {
|
| - for (var progress in expectations) {
|
| - var element = createElement();
|
| - element.animate(keyframes, heldTiming(progress));
|
| - var computedStyle = getComputedStyle(element);
|
| - for (var property in expectations[progress]) {
|
| - assert_equals(computedStyle[property], expectations[progress][property],
|
| - property + ' at ' + (progress * 100) + '%' + (description ? ' ' + description : ''));
|
| - }
|
| - }
|
| -}
|
| -
|
| -window.assertAnimationStyles = assertAnimationStyles;
|
| -})();
|
|
|