diff options
Diffstat (limited to '')
-rw-r--r-- | layout/reftests/text-svgglyphs/svg-glyph-positioning.svg | 23 |
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 0000000000..a16056a244 --- /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> |