getBoundingClientRect on SVG returns invalid rectangle (top and height are invalid)

Issue #675319 • Assigned to Bogdan B.

Details

Created
Aug 5, 2014
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Open the attached html file. The result of getBoundingClientRect().top is shown in alert(). It should show something like "100".

Expected Results:

In the attached example, the getBoundingClientRect().top is expected to return something like "100", but returns something like “2” instead.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To from “Tony S.” to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “Kevin B.”

      Changed Status to “Confirmed”

      Changed Title from “getBoundingBoxRect returns invalid rectangle (top and height are invalid)” to “getBoundingClientRect on SVG returns invalid rectangle (top and height are invalid)”

      Changed Assigned To from “Kevin B.” to “IE F.”

      Changed Status from “Confirmed” to “Won’t fix”

      Changed Assigned To to “Bogdan B.”

      Changed Status from “Won’t fix”

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

    Sign in