summaryrefslogtreecommitdiffstats
path: root/layout/reftests/text-svgglyphs/svg-glyph-positioning.svg
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/text-svgglyphs/svg-glyph-positioning.svg')
-rw-r--r--layout/reftests/text-svgglyphs/svg-glyph-positioning.svg23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/text-svgglyphs/svg-glyph-positioning.svg b/layout/reftests/text-svgglyphs/svg-glyph-positioning.svg
new file mode 100644
index 000000000..a16056a24
--- /dev/null
+++ b/layout/reftests/text-svgglyphs/svg-glyph-positioning.svg
@@ -0,0 +1,23 @@
+<svg xmlns="http://www.w3.org/2000/svg">
+ <style type="text/css">
+ <![CDATA[
+ @font-face {
+ font-family: "Liberation";
+ src:url(resources/svg.woff);
+ }
+ text
+ {
+ font-family: Liberation;
+ font-size: 200px;
+ stroke: black;
+ }
+ ]]>
+ </style>
+ <!--
+ Test that we're rendering in the right place in the middle of a
+ text run
+ -->
+ <text x="0" y="200">
+ LLL
+ </text>
+</svg>