summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-contains-inner-svg-02.svg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/svg/mask-contains-inner-svg-02.svg15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/svg/mask-contains-inner-svg-02.svg b/layout/reftests/svg/mask-contains-inner-svg-02.svg
new file mode 100644
index 0000000000..78a5ce004e
--- /dev/null
+++ b/layout/reftests/svg/mask-contains-inner-svg-02.svg
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <mask id="myMask">
+ <svg x="25%" overflow="visible">
+ <svg x="25%" overflow="visible">
+ <polygon fill="white" points="-50 0 50 0 50 100 -50 100"/>
+ </svg>
+ </svg>
+ </mask>
+ </defs>
+ <rect width="100%" height="100%" fill="lime"/>
+ <circle cx="50%" cy="50" r="40" fill="red"/>
+ <rect mask="url(#myMask)" width="100%" height="100%" fill="lime"/>
+</svg>