| Index: LayoutTests/animations/interpolation/vertical-align-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/vertical-align-interpolation.html b/LayoutTests/animations/interpolation/vertical-align-interpolation.html
|
| index 29bb9808dd673c7773131bce9487cbc967b8595e..6344a41504a8110940d13ba76b5638d6b0be799f 100644
|
| --- a/LayoutTests/animations/interpolation/vertical-align-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/vertical-align-interpolation.html
|
| @@ -1,11 +1,15 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| <style>
|
| +.parent {
|
| + vertical-align: 100px;
|
| +}
|
| .target {
|
| width: 100px;
|
| height: 100px;
|
| background-color: black;
|
| display: inline-block;
|
| + vertical-align: 10px;
|
| }
|
| .expected {
|
| background-color: green;
|
| @@ -16,6 +20,44 @@
|
| <script>
|
| assertInterpolation({
|
| property: 'vertical-align',
|
| + from: '',
|
| + to: '40px',
|
| +}, [
|
| + {at: -0.5, is: '-5px'},
|
| + {at: 0, is: '10px'},
|
| + {at: 0.3, is: '19px'},
|
| + {at: 0.6, is: '28px'},
|
| + {at: 1, is: '40px'},
|
| + {at: 1.5, is: '55px'},
|
| +]);
|
| +
|
| +assertNoInterpolation({
|
| + property: 'vertical-align',
|
| + from: 'initial',
|
| + to: '40px',
|
| +});
|
| +
|
| +assertInterpolation({
|
| + property: 'vertical-align',
|
| + from: 'inherit',
|
| + to: '40px',
|
| +}, [
|
| + {at: -0.5, is: '130px'},
|
| + {at: 0, is: '100px'},
|
| + {at: 0.3, is: '82px'},
|
| + {at: 0.6, is: '64px'},
|
| + {at: 1, is: '40px'},
|
| + {at: 1.5, is: '10px'},
|
| +]);
|
| +
|
| +assertNoInterpolation({
|
| + property: 'vertical-align',
|
| + from: 'unset',
|
| + to: '40px',
|
| +});
|
| +
|
| +assertInterpolation({
|
| + property: 'vertical-align',
|
| from: '0px',
|
| to: '100px'
|
| }, [
|
|
|