summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/non-scaling-stroke-02-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/non-scaling-stroke-02-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/non-scaling-stroke-02-ref.svg')
-rw-r--r--layout/reftests/svg/non-scaling-stroke-02-ref.svg33
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/reftests/svg/non-scaling-stroke-02-ref.svg b/layout/reftests/svg/non-scaling-stroke-02-ref.svg
new file mode 100644
index 0000000000..2264924193
--- /dev/null
+++ b/layout/reftests/svg/non-scaling-stroke-02-ref.svg
@@ -0,0 +1,33 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" overflow="hidden">
+<style type="text/css" >
+rect {
+ stroke-width: 30px;
+}
+</style>
+<defs>
+ <linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%">
+ <stop offset="0" stop-color="blue"/>
+ <stop offset="1" stop-color="yellow"/>
+ </linearGradient>
+ <linearGradient id="grad2" x1="360" y1="500" x2="560" y2="600" gradientUnits="userSpaceOnUse" gradientTransform="scale(0.25,1)">
+ <stop offset="0" stop-color="blue"/>
+ <stop offset="1" stop-color="yellow"/>
+ </linearGradient>
+ <pattern id="pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse" patternTransform="scale(1,0.5), skewX(45)">
+ <rect x="0" y="0" width="20" height="20" fill="red"/>
+ <rect x="20" y="0" width="20" height="20" fill="green"/>
+ <rect x="0" y="20" width="20" height="20" fill="blue"/>
+ <rect x="20" y="20" width="20" height="20" fill="yellow"/>
+ </pattern>
+ <rect id="rect" width="200" height="100" fill="none"/>
+</defs>
+
+<rect x="40" y="40" width="200" height="100" fill="none" stroke="url(#grad1)"/>
+
+<rect x="40" y="200" width="200" height="100" fill="none" stroke="url(#grad2)" />
+
+<use xlink:href="#rect" transform="translate(40, 360)" stroke="url(#pattern)"/>
+
+<use xlink:href="#rect" x="40" y="520" stroke="green"/>
+
+</svg>