| Index: LayoutTests/animations/interpolation/shape-margin-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/shape-margin-interpolation.html b/LayoutTests/animations/interpolation/shape-margin-interpolation.html
|
| index d6066c6af3b21b0aa6c873e7fe2a616a06c32b34..bb8e7567742eead3bced98a46f65215d4a6c14e3 100644
|
| --- a/LayoutTests/animations/interpolation/shape-margin-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/shape-margin-interpolation.html
|
| @@ -1,10 +1,70 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| +<style>
|
| +.parent {
|
| + shape-margin: 30px;
|
| +}
|
| +.target {
|
| + shape-margin: 10px;
|
| +}
|
| +</style>
|
| <body>
|
| <script src="resources/interpolation-test.js"></script>
|
| <script>
|
| assertInterpolation({
|
| property: 'shape-margin',
|
| + from: '',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '7px'},
|
| + {at: 0, is: '10px'},
|
| + {at: 0.3, is: '13px'},
|
| + {at: 0.6, is: '16px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '25px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-margin',
|
| + from: 'initial',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '0px'},
|
| + {at: 0, is: '0px'},
|
| + {at: 0.3, is: '6px'},
|
| + {at: 0.6, is: '12px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '30px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-margin',
|
| + from: 'inherit',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '33px'},
|
| + {at: 0, is: '30px'},
|
| + {at: 0.3, is: '27px'},
|
| + {at: 0.6, is: '24px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '15px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-margin',
|
| + from: 'unset',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '0px'},
|
| + {at: 0, is: '0px'},
|
| + {at: 0.3, is: '6px'},
|
| + {at: 0.6, is: '12px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '30px'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-margin',
|
| from: '0px',
|
| to: '100px'
|
| }, [
|
|
|