GetBoundingClientRect() returns incorrectvalues for foreignObject SVG

Issue #16165458 • Assigned to Travis L.


Suhas B.
Mar 1, 2018
This issue is public.
Found in
  • Microsoft Edge
  • Internet Explorer
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

The Javascript function getBoundingClientRect() returns incorrect values for the <foreignObject> element in svg. The top and left of the getBoundingClientRect() is returning as 209 instead of 109. And the <foreignobject> is not working in IE 11.
Here is the jsfiddle:


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

    • Hello,

      Thank you for providing your feedback on IE11. We are not accepting feedback on Internet Explorer through this portal any longer (unless security related). We will investigate the GetBoundingClientRect() problem seen in Edge.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Assigned To to “Travis L.”

    • Any progress on this issue?

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

    Sign in