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/lengthAdjust-large-font.svg
<?xml version="1.0" encoding="utf-8"?>
<metadata>
<title>lengthAdjust="spacingAndGlyphs" should render properly</title>
<h:link rel="match" href="green-100x100.svg"/>
<h:link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
</metadata>
<style>
text {
font: 100px/1 Ahem;
}
</style>
<rect fill="green" width="100" height="100"/>
<rect fill="red" x="80" y="20" width="10" height="60"/>
<text x="-82" y="70" fill="green" textLength="180" lengthAdjust="spacingAndGlyphs" font-family="Ahem">
XXXXXXX
</text>
</svg>