Closed Bug 1648823 Opened 4 years ago Closed 4 years ago

Update DOM API for SVGPathElement

Categories

(Core :: SVG, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1388931

People

(Reporter: boris, Unassigned)

References

(Blocks 1 open bug, )

Details

Based on the spec: https://svgwg.org/svg2-draft/single-page.html#changes-paths,

We have to

  1. Removed the SVGPathSeg* and SVGAnimatedPathData interfaces and the related methods on SVGPathElement

I hope these can make the code simpler, so we could easily promote d attribute to a property.

The wpt: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/svg/path/interfaces/SVGAnimatedPathData-removed.svg

We can't remove them because there's no way to get the animated values (unlike blink).

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.