Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/text/simple-multiple-dx-anchor-middle.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<svg xmlns="http://www.w3.org/2000/svg" width="700" height="200" viewBox="0 0 700 200">
<style>
@font-face {
font-family: Ahem;
src: url(../../fonts/Ahem.ttf);
}
</style>
<g transform="translate(100,100)" style="font: 16px Ahem">
<text x="100" dx="16 0 16 0 16" text-anchor="middle"><tspan fill="green">h</tspan> e l l o</text>
</g>
</svg>