summaryrefslogtreecommitdiffstats
path: root/layout/reftests/svg/mask-transformed-01.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/svg/mask-transformed-01.svg')
-rw-r--r--layout/reftests/svg/mask-transformed-01.svg17
1 files changed, 17 insertions, 0 deletions
diff --git a/layout/reftests/svg/mask-transformed-01.svg b/layout/reftests/svg/mask-transformed-01.svg
new file mode 100644
index 0000000000..254c3e9666
--- /dev/null
+++ b/layout/reftests/svg/mask-transformed-01.svg
@@ -0,0 +1,17 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/publicdomain/zero/1.0/
+-->
+<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
+ <defs>
+ <mask id="m1" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox">
+ <rect x="0" y="0" width="1" height="1" fill="white"/>
+ </mask>
+ </defs>
+ <foreignObject width="100%" height="100%" transform="scale(0.5)">
+ <svg style="width:100%; height:100%;">
+ <rect width="100%" height="100%" fill="lime" mask="url(#m1)"/>
+ </svg>
+ </foreignObject>
+</svg>
+