caretRangeFromPoint within covered iframe

Confirmed Issue #12641395 • Assigned to Gokul R.

Details

Author
Mark B.
Created
Jul 5, 2017
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 2 people

Sign in to watch or report this issue.

Steps to reproduce

This is an interoperability bug between Edge and all other major browsers.

Edge returns null from the contentDocument.caretRangeFromPoint(x, y) method for any point within an iframe when that iframe is covered by another element. Chrome, Firefox and Safari do not return null in the same scenario.

When the iframe is uncovered, the caretRangeFromPoint method functions correctly.

Demonstration of the issue: https://booktrack.github.io/external-bug-reports/caretRangeFromPoint-in-iframe-edge-bug/
Viewing the demo in Edge and then in any other major browser reveals the discrepancy in Edge’s behaviour.

Try the following for a repro as well:
 

https://booktrack.github.io/caretRangeFromPoint-iframe-test/index.html

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Steven K.”

      Changed Assigned To to “Travis L.”

      Changed Assigned To from “Travis L.” to “Adam D.”

      Changed Status to “Confirmed”

    • Changed Steps to Reproduce

    • Microsoft Edge Team

      Changed Steps to Reproduce

      Changed Assigned To from “Adam D.” to “Gokul R.”

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

    Sign in