Deprecate SVGSVGElement.deselectAll()
Categories
(Core :: SVG, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox121 | --- | fixed |
People
(Reporter: sebo, Assigned: longsonr)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
SVG 2 deprecated the SVGSVGElement.deselectAll() method[1], because it duplicates functionality of the Selection API. To let web developers know about the deprecation, a console warning should be output when the method is used. Sebastian [1] https://svgwg.org/svg2-draft/changes.html#structure
Updated•7 years ago
|
Reporter | ||
Updated•5 years ago
|
Updated•2 years ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Updated•6 months ago
|
Assignee | ||
Comment 2•6 months ago
|
||
Pushed by longsonr@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e294409c345f Add console warning about SVGSVGElement.deselectAll() being deprecated r=emilio
Comment 4•6 months ago
|
||
bugherder |
Reporter | ||
Comment 5•6 months ago
|
||
Thank you for adding a patch, Robert! Unfortunately, the warning isn't logged to the console, though. I've tested with today's Nightly, i.e. 121.0a1 (2023-10-28).
The same happens for other deprecated APIs like SVGGraphicsElement.nearestViewportElement
(requires the flag svg.nearestAndFarthestViewportElement.enabled
to be enabled). So I assume it's a general issue.
Could you have a look at it?
Sebastian
Reporter | ||
Updated•6 months ago
|
Updated•6 months ago
|
Assignee | ||
Comment 6•6 months ago
|
||
Sorry if it doesn't work I've no idea where to start. I've done the same changes as other patches e.g. https://hg.mozilla.org/mozilla-central/rev/299b070981cf68e0beac40cdd86cb6bbe5802d2a
I suggest checking some other deprecated interfaces and raising a more general new bug with your finding.s
Reporter | ||
Comment 7•6 months ago
|
||
Fair enough. I'll try to get some more info and file a new bug.
Sebastian
Updated•2 months ago
|
Description
•