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

Limited availability — shipped in Chrome 158 and Firefox; Safari in Technology Preview

  • Chrome · 158 (desktop, Android, WebView)
  • Edge · 158 (BCD mirrors Chrome)
  • Firefox · 61 (side attribute) / 152 (SVGTextPathElement.side DOM API)
  • Safari · Preview (WebKit PR #66616 merged 2026-10-08; no stable release yet)

No dedicated web-features entry exists on webstatus.dev for textPath’s side attribute (checked 2026-11-24). BCD api/SVGTextPathElement.json records SVGTextPathElement.side as Chrome 158, Firefox 152, and Safari preview; BCD svg/elements/textPath.json records Firefox 61 for the attribute and has not yet been updated from false for Chrome 158 or Safari preview.

this feature is documented on MDN

MDN: SVG side attribute (<textPath>)

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 inChrome 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 flagSVGTextPathSideAttribute is status: "stable" in Blink’s runtime_enabled_features.json5 (verified 2026-11-24); previously gated under Experimental Web Platform Features
IDL & constantsPer 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
SpecificationSVG 2 Editor’s Draft — <textPath> side attribute (left | right, initial left, animatable: yes)
Cross-browserFirefox 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 bugissues.chromium.org/40362379
Web platform testsSVGAnimatedEnumeration-SVGTextPathElement.html, textpath-side-003.svg, textpath-side-005.svg
ChromeStatus5422782593761280 — SVG textPath side attribute
Source: MDN SVG side; MDN SVGTextPathElement.side; ChromeStatus API record; SVG 2 spec; BCD.

references