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/testing/web-platform/tests/svg/text/reftests/dominant-baseline-hanging-small-font-size.svg
<metadata>
<title>'dominant-baseline: hanging' on &#x3c;text&#x3e; with small font-size</title>
<h:link rel="match" href="../../embedded/reference/green-rect-100x100.svg"/>
<h:link rel="stylesheet" type="text/css" href="/fonts/ahem.css"/>
</metadata>
<rect width="100" height="100" fill="red"/>
<svg viewBox="0 0 0.4 0.4" width="100" height="100">
<text dominant-baseline="hanging" fill="green"
font-size="0.5" font-family="Ahem">X</text>
</svg>
</svg>