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 months ago
|
||
Updated•2 months ago
|
Updated•2 months ago
|
Comment 2•2 months ago
|
||
This removal needs to be documented in the related browser compat data.
Sebastian
Pushed by longsonr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a2d20caae947 Remove SVGAElement.prototype.text r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/44671 for changes under testing/web-platform/tests
Comment 5•2 months ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Assignee | ||
Comment 7•2 months 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 months ago
|
||
Added to the Fx125 relnotes:
Support for
SVGAElement.text
was removed in favor of the more widely-implementedSVGAElement.textContent
method.
Comment 9•1 month 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
•