Index: LayoutTests/animations/interpolation/svg-stroke-interpolation.html |
diff --git a/LayoutTests/animations/interpolation/svg-stroke-interpolation.html b/LayoutTests/animations/interpolation/svg-stroke-interpolation.html |
index 94cc1627c82e4730b5415f16f78772c96c7d16c5..b2eff6d885cee781c7800dfc7f79d78b33db6ebd 100644 |
--- a/LayoutTests/animations/interpolation/svg-stroke-interpolation.html |
+++ b/LayoutTests/animations/interpolation/svg-stroke-interpolation.html |
@@ -6,6 +6,7 @@ |
height: 100px; |
fill: black; |
stroke-width: 20px; |
+ color: blue; |
} |
.replica { |
fill: green; |
@@ -39,6 +40,26 @@ assertInterpolation({ |
assertInterpolation({ |
property: 'stroke', |
from: 'orange', |
+ to: 'currentColor' |
+}, [ |
+ {at: 0, is: 'orange'}, |
+ {at: 0.2, is: '#cc8433'}, |
+ {at: 0.6, is: '#664299'}, |
+ {at: 1, is: 'blue'}, |
+]); |
+assertInterpolation({ |
+ property: 'stroke', |
+ from: 'currentColor', |
+ to: 'orange' |
+}, [ |
+ {at: 0, is: 'blue'}, |
+ {at: 0.2, is: '#3321cc'}, |
+ {at: 0.6, is: '#996366'}, |
+ {at: 1, is: 'orange'}, |
+]); |
+assertInterpolation({ |
+ property: 'stroke', |
+ from: 'orange', |
to: 'url(#gradient)' |
}, [ |
{at: 0.2, is: 'orange'}, |