blob: aa27ec9c09484634330d04b3a1876640856f10f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
<metadata>
<title>'dominant-baseline: hanging' on <text> with small font-size</title>
<h:link rel="help" href="https://svgwg.org/svg2-draft/text.html#TextAnchoringProperties"/>
<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>
|