Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/text-layout-05-ref.svg
<!--
Any copyright is dedicated to the Public Domain.
-->
<title>Reference 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">foo bar baz</text>
</svg>