| Index: LayoutTests/animations/interpolation/shape-image-threshold-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/shape-image-threshold-interpolation.html b/LayoutTests/animations/interpolation/shape-image-threshold-interpolation.html
|
| index eee693939ecbae52cb994fd31138a02d9bca137c..da47b9ff658b3d34fdb0aad2f7d588980325f252 100644
|
| --- a/LayoutTests/animations/interpolation/shape-image-threshold-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/shape-image-threshold-interpolation.html
|
| @@ -1,10 +1,70 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| +<style>
|
| +.parent {
|
| + shape-image-threshold: 0.4;
|
| +}
|
| +.target {
|
| + shape-image-threshold: 0.6;
|
| +}
|
| +</style>
|
| <body>
|
| <script src="resources/interpolation-test.js"></script>
|
| <script>
|
| assertInterpolation({
|
| property: 'shape-image-threshold',
|
| + from: '',
|
| + to: '0.8',
|
| +}, [
|
| + {at: -1.5, is: '0.3'},
|
| + {at: -0.5, is: '0.5'},
|
| + {at: 0, is: '0.6'},
|
| + {at: 0.5, is: '0.7'},
|
| + {at: 1, is: '0.8'},
|
| + {at: 1.5, is: '0.9'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-image-threshold',
|
| + from: 'initial',
|
| + to: '0.8',
|
| +}, [
|
| + {at: -1.5, is: '0'},
|
| + {at: -0.5, is: '0'},
|
| + {at: 0, is: '0'},
|
| + {at: 0.5, is: '0.4'},
|
| + {at: 1, is: '0.8'},
|
| + {at: 1.5, is: '1'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-image-threshold',
|
| + from: 'inherit',
|
| + to: '0.8',
|
| +}, [
|
| + {at: -1.5, is: '0'},
|
| + {at: -0.5, is: '0.2'},
|
| + {at: 0, is: '0.4'},
|
| + {at: 0.5, is: '0.6'},
|
| + {at: 1, is: '0.8'},
|
| + {at: 1.5, is: '1'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-image-threshold',
|
| + from: 'unset',
|
| + to: '0.8',
|
| +}, [
|
| + {at: -1.5, is: '0'},
|
| + {at: -0.5, is: '0'},
|
| + {at: 0, is: '0'},
|
| + {at: 0.5, is: '0.4'},
|
| + {at: 1, is: '0.8'},
|
| + {at: 1.5, is: '1'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'shape-image-threshold',
|
| from: '0.5',
|
| to: '1'
|
| }, [
|
|
|