« SVG Attribute reference home
The textLength attribute is intended to preserve a span of SVG text's display width across a variety of conditions, such as webfonts not loading. It can be applied to either the <text> or <tspan> elements.
Usage context
| Categories | None |
|---|---|
| Value | <length> |
| Animatable | Yes |
| Normative document | SVG 1.1 (2nd Edition) |