| <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> |