summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg')
-rw-r--r--testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg16
1 files changed, 16 insertions, 0 deletions
diff --git a/testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg b/testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg
new file mode 100644
index 0000000000..5b5f7bd4c8
--- /dev/null
+++ b/testing/web-platform/tests/svg/pservers/reftests/radialgradient-fully-overlapping.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
+ <title>Radial gradient with overlapping start and end circles</title>
+ <metadata>
+ <h:link rel="help" href="https://svgwg.org/svg2-draft/pservers.html#RadialGradientNotes"/>
+ <h:link rel="match" href="reference/green-100x100.svg"/>
+ <h:meta name="assert" content="If the start circle fully overlaps with the end circle, the gradient should be drawn."/>
+ </metadata>
+
+ <rect width="100" height="100" fill="red"/>
+
+ <radialGradient id="fully_overlapping" r="100" fr="100">
+ <stop stop-color="green"/>
+ <stop stop-color="green" offset="1"/>
+ </radialGradient>
+ <rect width="100" height="100" fill="url(#fully_overlapping) orange"/>
+</svg>