summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/currentColor-override-stop.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/currentColor-override-stop.svg')
-rw-r--r--layout/reftests/svg/currentColor-override-stop.svg9
1 files changed, 9 insertions, 0 deletions
diff --git a/layout/reftests/svg/currentColor-override-stop.svg b/layout/reftests/svg/currentColor-override-stop.svg
new file mode 100644
index 0000000000..964dabe2c9
--- /dev/null
+++ b/layout/reftests/svg/currentColor-override-stop.svg
@@ -0,0 +1,9 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <linearGradient id="gradient" color="red" stop-color="currentColor">
+ <stop offset="0" style="color:lime;" stop-color="inherit" />
+ <stop offset="1" stop-color="lime" />
+ </linearGradient>
+ </defs>
+ <rect width="100%" height="100%" fill="url(#gradient)" />
+</svg>