Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /svg/text/reftests/lengthAdjust-large-font.svg - WPT Dashboard Interop Dashboard
<?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>