Range.getBoundingClientRect() returns incorrect value when measureing a text node that wraps onto next line.

Won’t fix Issue #1842275


Feb 26, 2015
This issue is public.
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

Navigate to http://jsfiddle.net/9h2bmkwk/4/ and run the script. Notice that each non-space character has a height of ~18px while each space character has a height of ~36px.

Try it in chrome or firefox, and notice that they report the same height consistently (~16px)

Expected Results:

Return a top & bottom which is the position of the space character on the first line. In the jsfiddle provided, the height that is output should be the same value (~18 for myself) across all values.

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Tony S.”

      Changed Assigned To to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “IE F.”

      Changed Status to “Won’t fix”

      Changed Assigned To to “Bogdan B.”

      Changed Status from “Won’t fix”

      Changed Status to “Won’t fix”

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

    Sign in