summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/radialGradient-fr-02.svg
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2017-08-17 20:27:14 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-03-12 08:39:15 +0100
commitb736f53a13af48de08026b7c7e64275122af66e2 (patch)
tree54c20be9b96d7085973469c12332f43839d82f88 /layout/reftests/svg/radialGradient-fr-02.svg
parent4577efd50f8361ffa787d7fcba5f5894438f826c (diff)
downloadUXP-b736f53a13af48de08026b7c7e64275122af66e2.tar
UXP-b736f53a13af48de08026b7c7e64275122af66e2.tar.gz
UXP-b736f53a13af48de08026b7c7e64275122af66e2.tar.lz
UXP-b736f53a13af48de08026b7c7e64275122af66e2.tar.xz
UXP-b736f53a13af48de08026b7c7e64275122af66e2.zip
SVG - support radialGradient fr attribute
Diffstat (limited to 'layout/reftests/svg/radialGradient-fr-02.svg')
-rw-r--r--layout/reftests/svg/radialGradient-fr-02.svg27
1 files changed, 27 insertions, 0 deletions
diff --git a/layout/reftests/svg/radialGradient-fr-02.svg b/layout/reftests/svg/radialGradient-fr-02.svg
new file mode 100644
index 000000000..1933203be
--- /dev/null
+++ b/layout/reftests/svg/radialGradient-fr-02.svg
@@ -0,0 +1,27 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>Test gradient fr attribute</title>
+ <defs>
+ <radialGradient id="grad1" fr="10%">
+ <stop offset="0%" stop-color="red" />
+ <stop offset="100%" stop-color="lime" />
+ </radialGradient>
+ <style>
+ .cover {
+ stroke-width: 3px;
+ stroke: lime;
+ fill: none;
+ image-rendering: optimizeSpeed;
+ }
+ </style>
+ </defs>
+ <rect width="100%" height="100%" fill="lime"/>
+
+ <circle cx="100" cy="100" r="50" fill="url(#grad1)" />
+ <circle class="cover" cx="100" cy="100" r="50" />
+</svg>
+