-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Description
There are five methods on SVGSVGElement that I believe are falsely marked as deprecated. setCurrentTime, pauseAnimations, unpauseAnimations, animationsPaused, and getCurrentTime.
They're not directly listed on the SVG 2 candidate spec nor the SVG 1.1 to 2 changes document, but are instead listed in the SVG 2 Animation Candidate Document that both of the previously mentioned documents reference.
TypeScript Version:
I'm noticed the issue in 3.1.6, but they seem to be marked deprecated in the repo right now.
Search Terms:
svg SVGSVGElement deprecated setCurrentTime getCurrentTime animationsPaused unpauseAnimation pauseAnimation
Code
const svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
svg.setCurrentTime(4)Expected behavior:
No lint warnings about deprecated methods
Actual behavior:
A linter warning about setCurrentTime being deprecated.
Playground Link:
I don't think the playground shows deprecation messages, but here's a link.
Related Issues:
None that I can tell.