summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-02-extref-ref.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/svg/use-02-extref-ref.svg
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/svg/use-02-extref-ref.svg')
-rw-r--r--layout/reftests/svg/use-02-extref-ref.svg30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/svg/use-02-extref-ref.svg b/layout/reftests/svg/use-02-extref-ref.svg
new file mode 100644
index 0000000000..c5b0d6c6cd
--- /dev/null
+++ b/layout/reftests/svg/use-02-extref-ref.svg
@@ -0,0 +1,30 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <g id="testContent" color="forestgreen">
+ <defs>
+ <linearGradient id="linearGrad" 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="radialGrad" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.5" fx="0.15" fy="0.15">
+ <stop offset="000%" stop-color="orange" />
+ <stop offset="033%" stop-color="red" />
+ <stop offset="050%" stop-color="gold" />
+ <stop offset="066%" stop-color="red" />
+ <stop offset="100%" stop-color="orange" />
+ </radialGradient>
+ </defs>
+
+ <rect x="0" y="0" width="200" height="125" stroke="none"
+ fill="url(#linearGrad)"/>
+ <rect x="200" y="0" width="200" height="125" stroke="none"
+ fill="currentColor"/>
+ <rect x="0" y="125" width="200" height="125" stroke="none"
+ fill="currentColor"/>
+ <rect x="200" y="125" width="200" height="125" stroke="none" fill="url(#radialGrad)" />
+ </g>
+</svg>