| Index: LayoutTests/animations/resources/composited-animations-data/simple.js
|
| diff --git a/LayoutTests/animations/resources/composited-animations-data/simple.js b/LayoutTests/animations/resources/composited-animations-data/simple.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2439272ffeb1433677c5460b4cf51153f054c8e6
|
| --- /dev/null
|
| +++ b/LayoutTests/animations/resources/composited-animations-data/simple.js
|
| @@ -0,0 +1,99 @@
|
| +var transformTranslate = {
|
| + keyframes: [
|
| + {transform: 'translateX(0px)'},
|
| + {transform: 'translateX(600px)'}
|
| + ],
|
| + color: 'darkgreen',
|
| + vertical: true,
|
| + stamps: [
|
| + {at: 0},
|
| + {at: 0.15},
|
| + {at: 0.25},
|
| + {at: 0.35},
|
| + {at: 0.5},
|
| + {at: 0.65},
|
| + {at: 0.75},
|
| + {at: 0.85},
|
| + {at: 1.05},
|
| + {at: 1.15},
|
| + ]
|
| +};
|
| +
|
| +var transformRotate = {
|
| + keyframes: [
|
| + {transform: 'rotate(-10deg)'},
|
| + {transform: 'rotate(360deg)'}
|
| + ],
|
| + color: 'maroon',
|
| + margin: 5,
|
| + stamps: [
|
| + {at: 0},
|
| + {at: 0.05},
|
| + {at: 0.15},
|
| + {at: 0.25},
|
| + {at: 0.35},
|
| + {at: 0.45},
|
| + {at: 0.5},
|
| + {at: 0.55},
|
| + {at: 0.65},
|
| + {at: 0.75},
|
| + {at: 0.85},
|
| + {at: 0.95},
|
| + {at: 1.05},
|
| + {at: 1.15},
|
| + ]
|
| +};
|
| +
|
| +var transformScale = {
|
| + keyframes: [
|
| + {transform: 'scale(0.1)'},
|
| + {transform: 'scale(1)'}
|
| + ],
|
| + color: 'peru',
|
| + margin: 5,
|
| + marker: false, // TODO(loyso): This mustn't affect cc/blink consistency.
|
| + stamps: [
|
| + {at: 0},
|
| + {at: 0.05},
|
| + {at: 0.15},
|
| + {at: 0.25},
|
| + {at: 0.35},
|
| + {at: 0.45},
|
| + {at: 0.5},
|
| + {at: 0.55},
|
| + {at: 0.65},
|
| + {at: 0.75},
|
| + {at: 0.85},
|
| + {at: 0.95},
|
| + {at: 1.05},
|
| + {at: 1.15},
|
| + ]
|
| +};
|
| +
|
| +var animateOpacity = {
|
| + keyframes: [
|
| + {opacity: 0},
|
| + {opacity: 1}
|
| + ],
|
| + color: 'navy',
|
| + margin: 5,
|
| + stamps: [
|
| + {at: 0},
|
| + {at: 0.05},
|
| + {at: 0.15},
|
| + {at: 0.25},
|
| + {at: 0.35},
|
| + {at: 0.45},
|
| + {at: 0.5},
|
| + {at: 0.55},
|
| + {at: 0.65},
|
| + {at: 0.75},
|
| + {at: 0.85},
|
| + {at: 0.95},
|
| + {at: 1.05},
|
| + {at: 1.15},
|
| + ]
|
| +};
|
| +
|
| +var simpleTests = [transformTranslate, transformRotate, transformScale, animateOpacity];
|
| +
|
|
|