summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-02-extref-resource.svg
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /layout/reftests/svg/use-02-extref-resource.svg
parentInitial commit. (diff)
downloadfirefox-esr-upstream.tar.xz
firefox-esr-upstream.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esrupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/svg/use-02-extref-resource.svg')
-rw-r--r--layout/reftests/svg/use-02-extref-resource.svg34
1 files changed, 34 insertions, 0 deletions
diff --git a/layout/reftests/svg/use-02-extref-resource.svg b/layout/reftests/svg/use-02-extref-resource.svg
new file mode 100644
index 0000000000..005ad6373e
--- /dev/null
+++ b/layout/reftests/svg/use-02-extref-resource.svg
@@ -0,0 +1,34 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <g color="ghostwhite">
+ <defs>
+ <linearGradient id="linearGrad1" gradientUnits="objectBoundingBox" y1="0" x1="0" y2="1" x2="1" >
+ <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" />
+ </linearGradient>
+
+ <radialGradient id="radialGrad1" 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>
+
+ <g>
+ <g id="foreign">
+ <foreignObject x="0" y="0" width="100" height="100">
+ <p xmlns="http://www.w3.org/1999/xhtml">Foo</p>
+ </foreignObject>
+ </g>
+ <rect id="rect1" x="0" y="0" width="200" height="125" stroke="none" />
+ <rect id="rect2" x="200" y="0" width="200" height="125" stroke="none" />
+ <rect id="rect3" x="0" y="125" width="200" height="125" stroke="none" fill="currentColor"/>
+ <rect id="rect4" x="200" y="125" width="200" height="125" stroke="none" fill="url(#radialGrad1)" />
+ </g>
+ </g>
+</svg>