| Index: LayoutTests/animations/interpolation/webkit-column-rule-color-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/webkit-column-rule-color-interpolation.html b/LayoutTests/animations/interpolation/webkit-column-rule-color-interpolation.html
|
| index 70e7714867bf40c72c8769154bf8cd736f67b841..2c3b8c1d701fcba7fe5d42090ae41d4fa6d6769c 100644
|
| --- a/LayoutTests/animations/interpolation/webkit-column-rule-color-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/webkit-column-rule-color-interpolation.html
|
| @@ -1,29 +1,90 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| <style>
|
| +.parent {
|
| + -webkit-column-rule-color: blue;
|
| +}
|
| .target {
|
| - width: 300px;
|
| - height: 80px;
|
| + width: 20px;
|
| + height: 100px;
|
| background-color: black;
|
| display: inline-block;
|
| - margin: 18px;
|
| color: orange;
|
| overflow: hidden;
|
| -webkit-column-rule-style: solid;
|
| + -webkit-column-rule-width: 10px;
|
| -webkit-column-count: 2;
|
| + -webkit-column-rule-color: yellow;
|
| }
|
| .expected {
|
| background-color: green;
|
| + margin-right: 10px;
|
| }
|
| </style>
|
| <body>
|
| <template id="target-template">
|
| - <div>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div>
|
| + <div>text text text text text text text text text text text text</div>
|
| </template>
|
| <script src="resources/interpolation-test.js"></script>
|
| <script>
|
| assertInterpolation({
|
| property: '-webkit-column-rule-color',
|
| + from: '',
|
| + to: 'lime',
|
| +}, [
|
| + {at: -5, is: 'rgb(255, 255, 0)'},
|
| + {at: -0.4, is: 'rgb(255, 255, 0)'},
|
| + {at: 0, is: 'rgb(255, 255, 0)'},
|
| + {at: 0.2, is: 'rgb(204, 255, 0)'},
|
| + {at: 0.6, is: 'rgb(102, 255, 0)'},
|
| + {at: 1, is: 'rgb(0, 255, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 255, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: '-webkit-column-rule-color',
|
| + from: 'initial',
|
| + to: 'lime',
|
| +}, [
|
| + {at: -5, is: 'rgb(255, 0, 0)'},
|
| + {at: -0.4, is: 'rgb(255, 129, 0)'},
|
| + {at: 0, is: 'rgb(255, 165, 0)'},
|
| + {at: 0.2, is: 'rgb(204, 183, 0)'},
|
| + {at: 0.6, is: 'rgb(102, 219, 0)'},
|
| + {at: 1, is: 'rgb(0, 255, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 255, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: '-webkit-column-rule-color',
|
| + from: 'inherit',
|
| + to: 'lime',
|
| +}, [
|
| + {at: -5, is: 'rgb(0, 0, 255)'},
|
| + {at: -0.4, is: 'rgb(0, 0, 255)'},
|
| + {at: 0, is: 'rgb(0, 0, 255)'},
|
| + {at: 0.2, is: 'rgb(0, 51, 204)'},
|
| + {at: 0.6, is: 'rgb(0, 153, 102)'},
|
| + {at: 1, is: 'rgb(0, 255, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 255, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: '-webkit-column-rule-color',
|
| + from: 'unset',
|
| + to: 'lime',
|
| +}, [
|
| + {at: -5, is: 'rgb(255, 0, 0)'},
|
| + {at: -0.4, is: 'rgb(255, 129, 0)'},
|
| + {at: 0, is: 'rgb(255, 165, 0)'},
|
| + {at: 0.2, is: 'rgb(204, 183, 0)'},
|
| + {at: 0.6, is: 'rgb(102, 219, 0)'},
|
| + {at: 1, is: 'rgb(0, 255, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 255, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: '-webkit-column-rule-color',
|
| from: 'orange',
|
| to: 'blue'
|
| }, [
|
|
|