summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/use-localRef-clipPath-resource.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/use-localRef-clipPath-resource.svg')
-rw-r--r--layout/reftests/svg/use-localRef-clipPath-resource.svg16
1 files changed, 16 insertions, 0 deletions
diff --git a/layout/reftests/svg/use-localRef-clipPath-resource.svg b/layout/reftests/svg/use-localRef-clipPath-resource.svg
new file mode 100644
index 000000000..96e2d1095
--- /dev/null
+++ b/layout/reftests/svg/use-localRef-clipPath-resource.svg
@@ -0,0 +1,16 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <clipPath id="circleClip1">
+ <circle cx="50" cy="50" r="50"/>
+ </clipPath>
+ <clipPath id="circleClip2">
+ <circle cx="50" cy="150" r="0"/>
+ </clipPath>
+ <clipPath id="circleClip3">
+ <circle cx="50" cy="250" r="0"/>
+ </clipPath>
+ </defs>
+ <rect id="cp1" x="0" y="0" width="100" height="100" fill="blue" clip-path="url(#circleClip1)"/>
+ <rect id="cp2" x="0" y="100" width="100" height="100" fill="blue"/>
+ <rect id="cp3" x="0" y="200" width="100" height="100" fill="blue"/>
+</svg> \ No newline at end of file