SVGPathElement

Baseline Widely available *

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

* Some parts of this feature may have varying levels of support.

The SVGPathElement interface corresponds to the <path> element.

EventTarget Node Element SVGElement SVGGraphicsElement SVGGeometryElement SVGPathElement

Note: In SVG 2 the getPathSegAtLength() and createSVGPathSeg* methods were removed and the pathLength property and the getTotalLength() and getPointAtLength() methods were moved to SVGGeometryElement.

Instance properties

This interface inherits properties from its parent, SVGGeometryElement.

SVGPathElement.pathLength Read only

This property reflects the pathLength attribute.

Instance methods

This interface also inherits methods from its parent, SVGGeometryElement.

SVGPathElement.getPathData()

Returns the sequence of path segments that corresponds to the path data, optionally normalizing the values and segment types.

SVGPathElement.getPointAtLength()

Returns the point at a given distance along the path.

SVGPathElement.getTotalLength()

Returns the user agent's computed value for the total length of the path in user units.

SVGPathElement.setPathData()

Sets the sequence of path segments as the new path data.

SVGPathElement.getPathSegmentAtLength()

Returns the segment at a given distance along the path.

Deprecated methods

SVGPathElement.getPathSegAtLength()

Returns an unsigned long representing the index within the pathSegList utilizing the user agent's distance-along-a-path algorithm.

SVGPathElement.createSVGPathSegClosePath()

Returns a stand-alone, parentless SVGPathSegClosePath object.

SVGPathElement.createSVGPathSegMovetoAbs()

Returns a stand-alone, parentless SVGPathSegMovetoAbs object.

SVGPathElement.createSVGPathSegMovetoRel()

Returns a stand-alone, parentless SVGPathSegMovetoRel object.

SVGPathElement.createSVGPathSegLinetoAbs()

Returns a stand-alone, parentless SVGPathSegLinetoAbs object.

SVGPathElement.createSVGPathSegLinetoRel()

Returns a stand-alone, parentless SVGPathSegLinetoRel object.

SVGPathElement.createSVGPathSegCurvetoCubicAbs()

Returns a stand-alone, parentless SVGPathSegCurvetoCubicAbs object.

SVGPathElement.createSVGPathSegCurvetoCubicRel()

Returns a stand-alone, parentless SVGPathSegCurvetoCubicRel object.

SVGPathElement.createSVGPathSegCurvetoQuadraticAbs()

Returns a stand-alone, parentless SVGPathSegCurvetoQuadraticAbs object.

SVGPathElement.createSVGPathSegCurvetoQuadraticRel()

Returns a stand-alone, parentless SVGPathSegCurvetoQuadraticRel object.

SVGPathElement.createSVGPathSegArcAbs()

Returns a stand-alone, parentless SVGPathSegArcAbs object.

SVGPathElement.createSVGPathSegArcRel()

Returns a stand-alone, parentless SVGPathSegArcRel object.

SVGPathElement.createSVGPathSegLinetoHorizontalAbs()

Returns a stand-alone, parentless SVGPathSegLinetoHorizontalAbs object.

SVGPathElement.createSVGPathSegLinetoHorizontalRel()

Returns a stand-alone, parentless SVGPathSegLinetoHorizontalRel object.

SVGPathElement.createSVGPathSegLinetoVerticalAbs()

Returns a stand-alone, parentless SVGPathSegLinetoVerticalAbs object.

SVGPathElement.createSVGPathSegLinetoVerticalRel()

Returns a stand-alone, parentless SVGPathSegLinetoVerticalRel object.

SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs()

Returns a stand-alone, parentless SVGPathSegCurvetoCubicSmoothAbs object.

SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel()

Returns a stand-alone, parentless SVGPathSegCurvetoCubicSmoothRel object.

SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs()

Returns a stand-alone, parentless SVGPathSegCurvetoQuadraticSmoothAbs object.

SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel()

Returns a stand-alone, parentless SVGPathSegCurvetoQuadraticSmoothRel object.

Specifications

Specification
Scalable Vector Graphics (SVG) 2
# InterfaceSVGPathElement

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
SVGPathElement
Chrome – Full support
Chrome 1 (Release date: 2008-12-11)
footnote Full support
Edge – Full support
Edge 12 (Release date: 2015-07-29)
footnote Full support
Firefox – Full support
Firefox 1.5 (Release date: 2005-11-29)
footnote Full support
Opera – Full support
Opera 12.1 (Release date: 2012-11-20)
footnote Full support
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – Full support
Chrome Android 18 (Release date: 2012-06-27)
footnote Full support
Firefox for Android – Full support
Firefox for Android 4 (Release date: 2011-03-29)
footnote Full support
Opera Android – Full support
Opera Android 12.1 (Release date: 2012-10-09)
footnote Full support
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – Full support
Samsung Internet 1 (Release date: 2013-04-27)
footnote Full support
WebView Android – Full support
WebView Android 3 (Release date: 2011-02-22)
footnote Full support
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegArcAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegArcRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegClosePath
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoCubicAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoCubicRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoCubicSmoothAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoCubicSmoothRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoQuadraticAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoQuadraticRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoQuadraticSmoothAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegCurvetoQuadraticSmoothRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegLinetoAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegLinetoHorizontalAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegLinetoHorizontalRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegLinetoRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegLinetoVerticalAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegLinetoVerticalRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegMovetoAbs
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
createSVGPathSegMovetoRel
Deprecated
Chrome – No support
Chrome 1 – 47 (Release date: 2008-12-11)
footnote Removed in 48 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 58 (Release date: 2005-11-29)
footnote Removed in 59 and later
Opera – No support
Opera 12.1 – 34 (Release date: 2012-11-20)
footnote Removed in 35 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 47 (Release date: 2012-06-27)
footnote Removed in 48 and later
Firefox for Android – No support
Firefox for Android 4 – 58 (Release date: 2011-03-29)
footnote Removed in 59 and later
Opera Android – No support
Opera Android 12.1 – 34 (Release date: 2012-10-09)
footnote Removed in 35 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 4.2 (Release date: 2013-04-27)
footnote Removed in 5 and later
WebView Android – No support
WebView Android 4.4 – 47 (Release date: 2013-12-09)
footnote Removed in 48 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
getPathData
Experimental
Chrome – No support
Chrome
footnote No support
Edge – No support
Edge
footnote No support
Firefox – Full support
Firefox 137 (Release date: 2025-04-01)
footnote Full support
Opera – No support
Opera
footnote No support
Safari – No support
Safari
footnote No support
Chrome Android – No support
Chrome Android
footnote No support
Firefox for Android – Full support
Firefox for Android 137 (Release date: 2025-04-01)
footnote Full support
Opera Android – No support
Opera Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – No support
Samsung Internet
footnote No support
WebView Android – No support
WebView Android
footnote No support
WebView on iOS – No support
WebView on iOS
footnote No support
getPathSegAtLength
Deprecated
Chrome – No support
Chrome 1 – 61 (Release date: 2008-12-11)
footnote Removed in 62 and later
Edge – No support
Edge 12 – 18 (Release date: 2015-07-29)
footnote Removed in 79 and later
Firefox – No support
Firefox 1.5 – 96 (Release date: 2005-11-29)
footnote Removed in 97 and later
Opera – No support
Opera 12.1 – 48 (Release date: 2012-11-20)
footnote Removed in 49 and later
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – No support
Chrome Android 18 – 61 (Release date: 2012-06-27)
footnote Removed in 62 and later
Firefox for Android – No support
Firefox for Android 4 – 96 (Release date: 2011-03-29)
footnote Removed in 97 and later
Opera Android – No support
Opera Android 12.1 – 45 (Release date: 2012-10-09)
footnote Removed in 46 and later
Safari on iOS – Full support
Safari on iOS 1 (Release date: 2007-06-29)
footnote Full support
Samsung Internet – No support
Samsung Internet 1 – 7.4 (Release date: 2013-04-27)
footnote Removed in 8 and later
WebView Android – No support
WebView Android 4.4 – 61 (Release date: 2013-12-09)
footnote Removed in 62 and later
WebView on iOS – Full support
WebView on iOS 1 (Release date: 2007-06-29)
footnote Full support
getPathSegmentAtLength
Experimental
Chrome – No support
Chrome
footnote No support
Edge – No support
Edge
footnote No support
Firefox – Full support
Firefox 137 (Release date: 2025-04-01)
footnote Full support
Opera – No support
Opera
footnote No support
Safari – No support
Safari
footnote No support
Chrome Android – No support
Chrome Android
footnote No support
Firefox for Android – Full support
Firefox for Android 137 (Release date: 2025-04-01)
footnote Full support
Opera Android – No support
Opera Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – No support
Samsung Internet
footnote No support
WebView Android – No support
WebView Android
footnote No support
WebView on iOS – No support
WebView on iOS
footnote No support
getPointAtLength
Chrome – Full support
Chrome 1 (Release date: 2008-12-11)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Full support
Firefox 1.5 (Release date: 2005-11-29)
footnote Full support
Opera – Full support
Opera 15 (Release date: 2013-07-02)
footnote Full support
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – Full support
Chrome Android 18 (Release date: 2012-06-27)
footnote Full support
Firefox for Android – Full support
Firefox for Android 4 (Release date: 2011-03-29)
footnote Full support
Opera Android – Full support
Opera Android 14 (Release date: 2013-05-21)
footnote Full support
Safari on iOS – Full support
Safari on iOS 2 (Release date: 2008-07-11)
footnote Full support
Samsung Internet – Full support
Samsung Internet 1 (Release date: 2013-04-27)
footnote Full support
WebView Android – Full support
WebView Android 4.4 (Release date: 2013-12-09)
footnote Full support
WebView on iOS – Full support
WebView on iOS 2 (Release date: 2008-07-11)
footnote Full support
getTotalLength
Chrome – Full support
Chrome 1 (Release date: 2008-12-11)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Full support
Firefox 1.5 (Release date: 2005-11-29)
footnote Full support
Opera – Full support
Opera 15 (Release date: 2013-07-02)
footnote Full support
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – Full support
Chrome Android 18 (Release date: 2012-06-27)
footnote Full support
Firefox for Android – Full support
Firefox for Android 4 (Release date: 2011-03-29)
footnote Full support
Opera Android – Full support
Opera Android 14 (Release date: 2013-05-21)
footnote Full support
Safari on iOS – Full support
Safari on iOS 2 (Release date: 2008-07-11)
footnote Full support
Samsung Internet – Full support
Samsung Internet 1 (Release date: 2013-04-27)
footnote Full support
WebView Android – Full support
WebView Android 4.4 (Release date: 2013-12-09)
footnote Full support
WebView on iOS – Full support
WebView on iOS 2 (Release date: 2008-07-11)
footnote Full support
pathLength
Chrome – Full support
Chrome 1 (Release date: 2008-12-11)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Full support
Firefox 1.5 (Release date: 2005-11-29)
footnote Full support
Opera – Full support
Opera 15 (Release date: 2013-07-02)
footnote Full support
Safari – Full support
Safari 3 (Release date: 2007-10-26)
footnote Full support
Chrome Android – Full support
Chrome Android 18 (Release date: 2012-06-27)
footnote Full support
Firefox for Android – Full support
Firefox for Android 4 (Release date: 2011-03-29)
footnote Full support
Opera Android – Full support
Opera Android 14 (Release date: 2013-05-21)
footnote Full support
Safari on iOS – Full support
Safari on iOS 2 (Release date: 2008-07-11)
footnote Full support
Samsung Internet – Full support
Samsung Internet 1 (Release date: 2013-04-27)
footnote Full support
WebView Android – Full support
WebView Android 4.4 (Release date: 2013-12-09)
footnote Full support
WebView on iOS – Full support
WebView on iOS 2 (Release date: 2008-07-11)
footnote Full support
setPathData
Experimental
Chrome – No support
Chrome
footnote No support
Edge – No support
Edge
footnote No support
Firefox – Full support
Firefox 137 (Release date: 2025-04-01)
footnote Full support
Opera – No support
Opera
footnote No support
Safari – No support
Safari
footnote No support
Chrome Android – No support
Chrome Android
footnote No support
Firefox for Android – Full support
Firefox for Android 137 (Release date: 2025-04-01)
footnote Full support
Opera Android – No support
Opera Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support
Samsung Internet – No support
Samsung Internet
footnote No support
WebView Android – No support
WebView Android
footnote No support
WebView on iOS – No support
WebView on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Experimental. Expect behavior to change in the future.
Deprecated. Not for use in new websites.

See also