This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Avoid using it and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.
SVGPathElement.getTotalLength() method returns the user agent's computed value for the total length of the path in user units.
A float indicating the total length of the path in user units.
|Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGPathElement.getTotalLength()' in that specification.
We're converting our compatibility data into a machine-readable JSON format. This compatibility table still uses the old format, because we haven't yet converted the data it contains. Find out how you can help!
|Feature||Chrome||Edge||Firefox (Gecko)||Internet Explorer||Opera||Safari (WebKit)|
|Basic support||(Yes)||20 (12.10240)||(Yes)
No support 53 (53)
|Feature||Android||Android Webview||Firefox Mobile (Gecko)||IE Mobile||Opera Mobile||Safari Mobile||Chrome for Android|
No support 53.0 (53)
 As required by the latest version of the spec., this property has been removed.
 This method is currently only supported on
<path> elements (where it was already supported in earlier Firefox versions through the
SVGPathElement interface). Support for other elements will be added in bug 1325320.