diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-28 14:29:10 +0000 |
commit | 2aa4a82499d4becd2284cdb482213d541b8804dd (patch) | |
tree | b80bf8bf13c3766139fbacc530efd0dd9d54394c /layout/reftests/svg/non-scaling-stroke-01-ref.svg | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 86.0.1.upstream/86.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/svg/non-scaling-stroke-01-ref.svg')
-rw-r--r-- | layout/reftests/svg/non-scaling-stroke-01-ref.svg | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/layout/reftests/svg/non-scaling-stroke-01-ref.svg b/layout/reftests/svg/non-scaling-stroke-01-ref.svg new file mode 100644 index 0000000000..0bd75876f6 --- /dev/null +++ b/layout/reftests/svg/non-scaling-stroke-01-ref.svg @@ -0,0 +1,33 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> +<style type="text/css" > +rect { + stroke-width: 15px; +} +</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="180" y1="250" x2="280" y2="300" 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="20" height="20" patternUnits="userSpaceOnUse" patternTransform="scale(1,0.5), skewX(45)"> + <rect x="0" y="0" width="10" height="10" fill="red"/> + <rect x="10" y="0" width="10" height="10" fill="green"/> + <rect x="0" y="10" width="10" height="10" fill="blue"/> + <rect x="10" y="10" width="10" height="10" fill="yellow"/> + </pattern> + <rect id="rect" width="100" height="50" fill="none"/> +</defs> + +<rect x="20" y="20" width="100" height="50" fill="none" stroke="url(#grad1)"/> + +<rect x="20" y="100" width="100" height="50" fill="none" stroke="url(#grad2)" /> + +<use xlink:href="#rect" transform="translate(20, 180)" stroke="url(#pattern)"/> + +<use xlink:href="#rect" x="20" y="260" stroke="green"/> + +</svg> |