| Index: LayoutTests/animations/interpolation/widows-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/widows-interpolation.html b/LayoutTests/animations/interpolation/widows-interpolation.html
|
| index 6bde24ae703660a1ad736ca5593677f34bafa6a6..ccf78cbb0490a193efd54a338bac51312db9a9a9 100644
|
| --- a/LayoutTests/animations/interpolation/widows-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/widows-interpolation.html
|
| @@ -1,17 +1,77 @@
|
| <!DOCTYPE html>
|
| <body>
|
| <style>
|
| +.parent {
|
| + widows: 30;
|
| +}
|
| .target {
|
| - width: 100px;
|
| - height: 100px;
|
| - background-color: black;
|
| - display: inline-block;
|
| + widows: 10;
|
| }
|
| </style>
|
| <script src="resources/interpolation-test.js"></script>
|
| <script>
|
| assertInterpolation({
|
| property: 'widows',
|
| + from: '',
|
| + to: '20',
|
| +}, [
|
| + {at: -3, is: '1'},
|
| + {at: -2.5, is: '1'},
|
| + {at: -0.5, is: '5'},
|
| + {at: 0, is: '10'},
|
| + {at: 0.3, is: '13'},
|
| + {at: 0.6, is: '16'},
|
| + {at: 1, is: '20'},
|
| + {at: 1.5, is: '25'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'widows',
|
| + from: 'initial',
|
| + to: '20',
|
| +}, [
|
| + {at: -3, is: '1'},
|
| + {at: -2.5, is: '1'},
|
| + {at: -0.5, is: '1'},
|
| + {at: 0, is: '1'},
|
| + {at: 0.3, is: '7'},
|
| + {at: 0.6, is: '12'},
|
| + {at: 1, is: '20'},
|
| + {at: 1.5, is: '30'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'widows',
|
| + from: 'inherit',
|
| + to: '20',
|
| +}, [
|
| + {at: -3, is: '60'},
|
| + {at: -2.5, is: '55'},
|
| + {at: -0.5, is: '35'},
|
| + {at: 0, is: '30'},
|
| + {at: 0.3, is: '27'},
|
| + {at: 0.6, is: '24'},
|
| + {at: 1, is: '20'},
|
| + {at: 1.5, is: '15'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'widows',
|
| + from: 'unset',
|
| + to: '20',
|
| +}, [
|
| + {at: -3, is: '60'},
|
| + {at: -2.5, is: '55'},
|
| + {at: -0.5, is: '35'},
|
| + {at: 0, is: '30'},
|
| + {at: 0.3, is: '27'},
|
| + {at: 0.6, is: '24'},
|
| + {at: 1, is: '20'},
|
| + {at: 1.5, is: '15'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'widows',
|
| from: '10',
|
| to: '20'
|
| }, [
|
| @@ -24,6 +84,7 @@ assertInterpolation({
|
| {at: 1, is: '20'},
|
| {at: 1.5, is: '25'}
|
| ]);
|
| +
|
| assertInterpolation({
|
| property: 'widows',
|
| from: '2',
|
|
|