SVGAElement.prototype.text should be removed
Categories
(Core :: SVG, enhancement)
Tracking
()
People
(Reporter: longsonr, Assigned: longsonr)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
See https://github.com/w3c/svgwg/issues/931
Only implemented by Firefox and you can just use textContent anyway.
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Updated•2 years ago
|
Comment 2•2 years ago
|
||
This removal needs to be documented in the related browser compat data.
Sebastian
Comment 5•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Comment 7•2 years ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]:
SVGAElement has text methods that duplicate textContent. Safari and Chrome have never implemented this method and it's now been removed from Firefox. Calls to set text or get text content via SVGAElement.text can be replaced by SVGAElement.textContent.
[Affects Firefox for Android]:
yes
[Suggested wording]:
[Links (documentation, blog post, etc)]:
https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement
https://www.w3.org/TR/SVG2/linking.html#Links
https://www.w3.org/TR/SVG2/linking.html#InterfaceSVGAElement
Comment 8•2 years ago
|
||
Added to the Fx125 relnotes:
Support for
SVGAElement.textwas removed in favor of the more widely-implementedSVGAElement.textContentmethod.
Comment 9•1 year ago
|
||
FF125 MDN docs work for this can be tracked in https://github.com/mdn/content/issues/32779. This was just a release note and update of the compat data.
Description
•