| Index: LayoutTests/animations/interpolation/translate-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/translate-interpolation.html b/LayoutTests/animations/interpolation/translate-interpolation.html
|
| index 5051cbdf058ba8794153faa95092a1a08ddc3de8..456c26991b4c13dac449f6947b13343aeb8e89ed 100644
|
| --- a/LayoutTests/animations/interpolation/translate-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/translate-interpolation.html
|
| @@ -8,6 +8,7 @@
|
| width: 100px;
|
| height: 100px;
|
| background-color: black;
|
| + translate: 10px;
|
| }
|
| .expected {
|
| background-color: green;
|
| @@ -22,6 +23,32 @@
|
| <script>
|
| assertInterpolation({
|
| property: 'translate',
|
| + from: '',
|
| + to: '20px',
|
| +}, [
|
| + {at: -1, is: '0px'},
|
| + {at: 0, is: '10px'},
|
| + {at: 0.25, is: '12.5px'},
|
| + {at: 0.75, is: '17.5px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 2, is: '30px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'translate',
|
| + from: 'unset',
|
| + to: '20px',
|
| +}, [
|
| + {at: -1, is: '-20px'},
|
| + {at: 0, is: '0px'},
|
| + {at: 0.25, is: '5px'},
|
| + {at: 0.75, is: '15px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 2, is: '40px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'translate',
|
| from: '-100px',
|
| to: '100px',
|
| }, [
|
|
|