support getTotalLength() on any SVGGeometryElement, not only on paths

Confirmed Issue #12377060 • Assigned to Travis L.

Details

Author
Ana T.
Created
Jun 17, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
15.15063
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

  1. Create an SVG ellipse:
<svg><ellipse rx='300' ry='100'/></svg>
  1. Try to read its length via JS:
document.querySelector('ellipse').getTotalLength()
  1. Expected result: about 1335.8723, which is what we get in Blink browsers.

There’s also a Firefox bug(1325320) for this.

According to the SVG 2 spec, this method should work on any SVGGeometryElement.

  1. Actual result in Edge: undefined.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

      Changed Status to “Confirmed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in