| Index: LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html
|
| diff --git a/LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html b/LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html
|
| index 99b1d32f5354aa7142c7bee99ebf7697017a5d8c..30264280a5c36d0669dd0ffdebc3e90638f98de4 100644
|
| --- a/LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html
|
| +++ b/LayoutTests/animations/interpolation/webkit-text-stroke-color-interpolation.html
|
| @@ -1,10 +1,13 @@
|
| <!DOCTYPE html>
|
| <meta charset="UTF-8">
|
| <style>
|
| +.parent {
|
| + -webkit-text-stroke-color: blue;
|
| +}
|
| .target {
|
| display: inline-block;
|
| font: 60pt sans-serif;
|
| - -webkit-text-stroke: 3px black;
|
| + -webkit-text-stroke: 3px orange;
|
| -webkit-text-fill-color: white;
|
| }
|
| .expected {
|
| @@ -17,6 +20,58 @@
|
| <script>
|
| assertInterpolation({
|
| property: '-webkit-text-stroke-color',
|
| + from: '',
|
| + to: 'green',
|
| +}, [
|
| + {at: -0.3, is: 'rgb(255, 176, 0)'},
|
| + {at: 0, is: 'rgb(255, 165, 0)'},
|
| + {at: 0.3, is: 'rgb(179, 154, 0)'},
|
| + {at: 0.6, is: 'rgb(102, 143, 0)'},
|
| + {at: 1, is: 'rgb(0, 128, 0)'},
|
| + {at: 1.5, is: 'rgb(0, 110, 0)'},
|
| +]);
|
| +
|
| +assertInterpolation({
|
| + property: '-webkit-text-stroke-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: '-webkit-text-stroke-color',
|
| + from: 'inherit',
|
| + 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: '-webkit-text-stroke-color',
|
| + from: 'unset',
|
| + 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: '-webkit-text-stroke-color',
|
| from: 'black',
|
| to: 'orange'
|
| }, [
|
|
|