Hi,

As of Firefox 97, we intend to remove the following legacy SVGPathSeg
related APIs on all platforms:

   1. SVGAnimatedPathData
   2. SVGPathSeg
   3. SVGPathSegList
   4. SVGPathElement::getPathSegAtLength()

The SVG spec removed these APIs already (spec link
<https://www.w3.org/TR/SVG2/paths.html#DOMInterfaces>), and maintaining
these legacy APIs has some overhead after we made d property as a
presentation attribute. Besides, we still can use d property to get its
computed style so we still have ability to know the animated values. The
current WPT
<https://searchfox.org/mozilla-central/rev/1674b86019a96f076e0f98f1d0f5f3ab9d4e9020/testing/web-platform/tests/svg/animations/support/animated-path-helpers.js#71>
also use d property as the way to verify SVG animations. So this should be
safe to obsolete these APIs.

Status in other browsers is:
1. Blink removed these APIs 5 years ago.
2. WebKit still have these APIs.

*Bug to remove*: https://bugzilla.mozilla.org/show_bug.cgi?id=1388931

Thanks,
Boris

-- 
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/CAGcjHKiKZF99odidUEGCOn5yrdLfaMYxAnsUJVbyP-aNEiWZQg%40mail.gmail.com.

Reply via email to