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-layout-05.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Testcase to check that dominant-baseline works for tspan</title>
<rect width="100%" height="100%" fill="lime"/>
<text x="20" y="200" dominant-baseline="central"
font-family="monospace" font-size="50px"><tspan>foo </tspan><tspan>bar </tspan><tspan>baz</tspan></text>
</svg>