Skip to content

<textPath> method attribute: link to BCD - #45745

Merged
hamishwillee merged 4 commits into
mdn:mainfrom
Josh-Cena:textpath-method
Oct 22, 2026
Merged

hamishwillee merged 4 commits into
mdn:mainfrom
Josh-Cena:textpath-method

Conversation

@Josh-Cena

Copy link
Copy Markdown
Member

Fix #24079.

We don't have BCD, so the next best thing is just to say it's unavailable.

However it's not unrecognized, because browsers do implement https://developer.mozilla.org/en-US/docs/Web/API/SVGTextPathElement/method and return the correct value in DOM. It just has no rendering effect.

@Josh-Cena
Josh-Cena requested a review from a team as a code owner September 17, 2026 01:07
@Josh-Cena
Josh-Cena requested review from hamishwillee and removed request for a team September 17, 2026 01:07
@github-actions github-actions Bot added Content:SVG SVG docs size/s [PR only] 6-50 LoC changed labels Sep 17, 2026
@github-actions

github-actions Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

(comment last updated: 2026-10-20 21:05:40)

@hamishwillee hamishwillee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Josh-Cena IMO we should add a Browser compat section and put this specific information in that. Same argument as for BCD - keeping it in the one place makes it easier to maintain.

@Josh-Cena

Copy link
Copy Markdown
Member Author

We might be able to simply add BCD for this. I've put up a PR: mdn/browser-compat-data#30677. If that works, we can simply add BCD here.

@Josh-Cena Josh-Cena changed the title <textPath> method attribute has no effect <textPath> method attribute: link to BCD Oct 13, 2026
@Josh-Cena

Copy link
Copy Markdown
Member Author

OK, this is now properly BCD-only

@hamishwillee hamishwillee left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Josh-Cena

@hamishwillee
hamishwillee merged commit dc19509 into mdn:main Oct 22, 2026
9 checks passed
@Josh-Cena
Josh-Cena deleted the textpath-method branch October 23, 2026 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:SVG SVG docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

textPath attribute method doesn't seem to have an effect

3 participants