summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-mask.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-svgglyphs/svg-glyph-mask.svg')
-rw-r--r--layout/reftests/text-svgglyphs/svg-glyph-mask.svg12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/text-svgglyphs/svg-glyph-mask.svg b/layout/reftests/text-svgglyphs/svg-glyph-mask.svg
new file mode 100644
index 0000000000..afda2f0908
--- /dev/null
+++ b/layout/reftests/text-svgglyphs/svg-glyph-mask.svg
@@ -0,0 +1,12 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <style>
+ @font-face {
+ font-family: "Liberation";
+ src: url(resources/svg.woff);
+ }
+ </style>
+ <mask id="m" x="0" y="0" width="200" height="200">
+ <text x="20" y="150" style="font: 100px Liberation" stroke="black">L</text>
+ </mask>
+ <rect width="200" height="200" mask="url(#m)"/>
+</svg>