summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/clip-use-element-02.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/clip-use-element-02.svg13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/svg/clip-use-element-02.svg b/layout/reftests/svg/clip-use-element-02.svg
new file mode 100644
index 0000000000..493edf24b5
--- /dev/null
+++ b/layout/reftests/svg/clip-use-element-02.svg
@@ -0,0 +1,13 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:xlink="http://www.w3.org/1999/xlink">
+ <defs>
+ <rect x="100" y="100" width="100" height="100" fill="red" id="def"/>
+ <clipPath id="myClipPath">
+ <use xlink:href="#def"/>
+ </clipPath>
+ <rect x="0" y="0" width="100" height="100" fill="red" id="abc"/>
+ </defs>
+ <rect x="0" y="0" width="100%" height="100%" fill="lime"/>
+ <use xlink:href="#abc"
+ x="100" y="100" clip-path="url(#myClipPath)"/>
+</svg> \ No newline at end of file