| Index: LayoutTests/animations/interpolation/outline-color-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/outline-color-interpolation.html b/LayoutTests/animations/interpolation/outline-color-interpolation.html
|
| index 0c318b09f1728eb40a81c21b55da0ec9dd94ce58..2505fb08d2f3ed0e88f639606ffbfa3380337be0 100644
|
| --- a/LayoutTests/animations/interpolation/outline-color-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/outline-color-interpolation.html
|
| @@ -1,6 +1,9 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| <style>
|
| +.parent {
|
| + outline-color: yellow;
|
| +}
|
| .target {
|
| width: 50px;
|
| height: 50px;
|
| @@ -8,9 +11,10 @@
|
| display: inline-block;
|
| outline: 12px solid white;
|
| margin: 12px 12px;
|
| + outline-color: blue;
|
| }
|
| .expected {
|
| - background-color: green;
|
| + background-color: lime;
|
| }
|
| </style>
|
| <body>
|
| @@ -18,6 +22,58 @@
|
| <script>
|
| assertInterpolation({
|
| property: 'outline-color',
|
| + from: '',
|
| + to: 'green',
|
| +}, [
|
| + {at: -0.3, is: 'rgb(0, 0, 255)'},
|
| + {at: 0, is: 'rgb(0, 0, 255)'},
|
| + {at: 0.3, is: 'rgb(0, 38, 179)'},
|
| + {at: 0.6, is: 'rgb(0, 77, 102)'},
|
| + {at: 1, is: 'rgb(0, 128, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 192, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-color',
|
| + from: 'initial',
|
| + to: 'green',
|
| +}, [
|
| + {at: -0.3, is: 'rgb(0, 0, 0)'},
|
| + {at: 0, is: 'rgb(0, 0, 0)'},
|
| + {at: 0.3, is: 'rgb(0, 38, 0)'},
|
| + {at: 0.6, is: 'rgb(0, 77, 0)'},
|
| + {at: 1, is: 'rgb(0, 128, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 192, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-color',
|
| + from: 'inherit',
|
| + to: 'green',
|
| +}, [
|
| + {at: -0.3, is: 'rgb(255, 255, 0)'},
|
| + {at: 0, is: 'rgb(255, 255, 0)'},
|
| + {at: 0.3, is: 'rgb(179, 217, 0)'},
|
| + {at: 0.6, is: 'rgb(102, 179, 0)'},
|
| + {at: 1, is: 'rgb(0, 128, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 65, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-color',
|
| + from: 'unset',
|
| + to: 'green',
|
| +}, [
|
| + {at: -0.3, is: 'rgb(0, 0, 0)'},
|
| + {at: 0, is: 'rgb(0, 0, 0)'},
|
| + {at: 0.3, is: 'rgb(0, 38, 0)'},
|
| + {at: 0.6, is: 'rgb(0, 77, 0)'},
|
| + {at: 1, is: 'rgb(0, 128, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 192, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: 'outline-color',
|
| from: 'white',
|
| to: 'orange'
|
| }, [
|
|
|