summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom-ref.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom-ref.svg')
-rw-r--r--layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom-ref.svg25
1 files changed, 25 insertions, 0 deletions
diff --git a/layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom-ref.svg b/layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom-ref.svg
new file mode 100644
index 0000000000..95f3d1bb70
--- /dev/null
+++ b/layout/reftests/text-svgglyphs/svg-glyph-objectgradient-zoom-ref.svg
@@ -0,0 +1,25 @@
+<svg xmlns="http://www.w3.org/2000/svg" reftest-zoom="0.5">
+
+ <defs>
+ <linearGradient id="grad" x1="0" y1="0" x2="800" y2="800" gradientUnits="userSpaceOnUse">
+ <stop stop-color="purple" offset="0%" />
+ <stop stop-color="lime" offset="100%" />
+ </linearGradient>
+ <radialGradient id="grad2" cx="250" cy="400" r="400" gradientUnits="userSpaceOnUse">
+ <stop stop-color="red" offset="0%" />
+ <stop stop-color="blue" offset="100%" />
+ </radialGradient>
+ </defs>
+
+ <rect x="20" y="20" width="160" height="160" stroke="none"
+ fill="url(#grad)" />
+
+ <rect x="310" y="10" width="180" height="180" fill="url(#grad)"
+ stroke="none" />
+
+ <rect x="20" y="320" width="160" height="160" fill="burlywood"
+ stroke="url(#grad2)" stroke-width="10" />
+
+ <rect x="310" y="310" width="180" height="180" fill="url(#grad2)"
+ stroke="url(#grad)" stroke-width="20" />
+</svg>