← Chrome 158 reference · All APIs
v158 · svg · covered on mdn
SVG textPath side attribute
The SVG 2 side attribute on <textPath> (side="left" default, or side="right") chooses which side of a path text follows; setting side="right" effectively reverses path direction for text layout so authors can place text inside or outside a closed shape such as a circle without duplicating or reversing path data. Chrome 158 also exposes the reflected SVGTextPathElement.side SVGAnimatedEnumeration property and its TEXTPATH_SIDETYPE_* constants.
this feature is documented on MDN
side attribute (<textPath>)
- MDN:
SVGTextPathElement.sideproperty — documents theSVGAnimatedEnumerationinterface,TEXTPATH_SIDETYPE_UNKNOWN/TEXTPATH_SIDETYPE_LEFT/TEXTPATH_SIDETYPE_RIGHTconstants, and usage examples - MDN:
<textPath>element reference
Both dedicated MDN pages include syntax/value tables (left | right, default left, animatable), worked examples, Specifications, and Browser compatibility sections (verified HTTP 200 on 2026-11-24). gendn does not duplicate MDN’s reference prose here.
Why gendn doesn’t duplicate MDN: this site exists for Chrome features that lack an MDN reference. When MDN already publishes a complete, authoritative reference, the honest page points to MDN and records the Chrome 158 shipping metadata and runtime flag details MDN does not track.
quick reference
| Shipped in | Chrome 158 (desktop, Android, Android WebView) — filed under “Enabled by default” in the milestone=158 listing (feature type: “Chromium catches up” in ChromeStatus API record) |
|---|---|
| Runtime flag | SVGTextPathSideAttribute is status: "stable" in Blink’s runtime_enabled_features.json5 (verified 2026-11-24); previously gated under Experimental Web Platform Features |
| IDL & constants | Per WPT SVGAnimatedEnumeration-SVGTextPathElement.html and the 2026-04-23 SVG WG minutes, SVGTextPathElement.side is an SVGAnimatedEnumeration with TEXTPATH_SIDETYPE_LEFT (1) and TEXTPATH_SIDETYPE_RIGHT (2); assigning out-of-range values (such as 0, -1, or 3) to side.baseVal throws a TypeError and leaves the attribute unchanged |
| Specification | SVG 2 Editor’s Draft — <textPath> side attribute (left | right, initial left, animatable: yes) |
| Cross-browser | Firefox shipped the attribute in 61 and the DOM API in 152 (Bugzilla 2034371); WebKit merged PR #66616 on 2026-10-08 (Safari preview in BCD) |
| Tracking bug | issues.chromium.org/40362379 |
| Web platform tests | SVGAnimatedEnumeration-SVGTextPathElement.html, textpath-side-003.svg, textpath-side-005.svg |
| ChromeStatus | 5422782593761280 — SVG textPath side attribute |
side; MDN SVGTextPathElement.side; ChromeStatus API record; SVG 2 spec; BCD.
references
- MDN — SVG
sideattribute (canonical reference) - MDN —
SVGTextPathElement.sideproperty (canonical DOM reference) - W3C SVG 2 Editor’s Draft —
sideattribute - W3C SVG WG minutes (2026-04-23) —
sideIDL resolution - Chrome Platform Status — SVG textPath side attribute (5422782593761280)
- Chromium tracking bug 40362379 · Mozilla Bug 2034371 · WebKit PR #66616
- BCD —
svg/elements/textPath.json· BCD —api/SVGTextPathElement.json