summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-02-extref.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/use-02-extref.svg')
-rw-r--r--layout/reftests/svg/use-02-extref.svg28
1 files changed, 28 insertions, 0 deletions
diff --git a/layout/reftests/svg/use-02-extref.svg b/layout/reftests/svg/use-02-extref.svg
new file mode 100644
index 0000000000..9dc7a5c770
--- /dev/null
+++ b/layout/reftests/svg/use-02-extref.svg
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <g color="forestgreen">
+ <defs>
+ <linearGradient id="linearGrad1" gradientUnits="objectBoundingBox" y1="0" x1="0" y2="1" x2="1">
+ <stop offset="0%" stop-color="royalblue"/>
+ <stop offset="33%" stop-color="white"/>
+ <stop offset="50%" stop-color="darkblue"/>
+ <stop offset="66%" stop-color="white"/>
+ <stop offset="100%" stop-color="royalblue"/>
+ </linearGradient>
+
+ <radialGradient id="radialGrad1" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.5" fx="0.15" fy="0.15">
+ <stop offset="00%" stop-color="royalblue"/>
+ <stop offset="33%" stop-color="white"/>
+ <stop offset="50%" stop-color="darkblue"/>
+ <stop offset="66%" stop-color="white"/>
+ <stop offset="100%" stop-color="royalblue"/>
+ </radialGradient>
+ </defs>
+
+ <use xlink:href="use-02-extref-resource.svg#rect1" fill="url(#linearGrad1)"/>
+ <use xlink:href="use-02-extref-resource.svg#rect2" fill="currentColor"/>
+ <use xlink:href="use-02-extref-resource.svg#rect3"/>
+ <use xlink:href="use-02-extref-resource.svg#rect4"/>
+ </g>
+</svg>