| Index: LayoutTests/animations/interpolation/height-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/height-interpolation.html b/LayoutTests/animations/interpolation/height-interpolation.html
|
| index ce0c525ae0ed97d6d3eb3de09892a28c1d6fe609..24e5df5fa662ecd63c691f0e8e9b268fcd2297ae 100644
|
| --- a/LayoutTests/animations/interpolation/height-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/height-interpolation.html
|
| @@ -1,12 +1,16 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| <style>
|
| +.parent {
|
| + height: 200px;
|
| +}
|
| .target {
|
| width: 100px;
|
| height: 100px;
|
| background-color: black;
|
| display: inline-block;
|
| margin-right: 5px;
|
| + height: 10px;
|
| }
|
| .expected {
|
| background-color: green;
|
| @@ -17,6 +21,44 @@
|
| <script>
|
| assertInterpolation({
|
| property: 'height',
|
| + 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'},
|
| +]);
|
| +
|
| +assertNoInterpolation({
|
| + property: 'height',
|
| + from: 'initial',
|
| + to: '20px',
|
| +});
|
| +
|
| +assertInterpolation({
|
| + property: 'height',
|
| + from: 'inherit',
|
| + to: '20px',
|
| +}, [
|
| + {at: -0.3, is: '254px'},
|
| + {at: 0, is: '200px'},
|
| + {at: 0.3, is: '146px'},
|
| + {at: 0.6, is: '92px'},
|
| + {at: 1, is: '20px'},
|
| + {at: 1.5, is: '0px'},
|
| +]);
|
| +
|
| +assertNoInterpolation({
|
| + property: 'height',
|
| + from: 'unset',
|
| + to: '20px',
|
| +});
|
| +
|
| +assertInterpolation({
|
| + property: 'height',
|
| from: '0px',
|
| to: '100px'
|
| }, [
|
|
|