summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/blend-layer-mask.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/blend-layer-mask.svg')
-rw-r--r--layout/reftests/svg/blend-layer-mask.svg15
1 files changed, 15 insertions, 0 deletions
diff --git a/layout/reftests/svg/blend-layer-mask.svg b/layout/reftests/svg/blend-layer-mask.svg
new file mode 100644
index 0000000000..8978b7fdc7
--- /dev/null
+++ b/layout/reftests/svg/blend-layer-mask.svg
@@ -0,0 +1,15 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="400" >
+<defs>
+ <mask id="msk">
+ <rect x="10" y="10" width="20" height="20" />
+ </mask>
+</defs>
+<rect x="0" y="0" width="160" height="160" fill="rgb(0,255,0)"/>
+<g mask="url(#msk)">
+ <rect x="40" y="40" width="80" height="80" fill="rgb(0,255,0)" style="mix-blend-mode: difference"/>
+</g>
+</svg> \ No newline at end of file