range.getClientRects() error

Not reproducible Issue #15947402

Details

Author
Leopoldo P.
Created
Feb 14, 2018
Privacy
This issue is public.
Found in
  • Microsoft Edge
Found in build #
17.17093
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

when selecting two or more html objects, range.getClientRects() returns a zero length list. Chrome and Firefox correctly return the collection size, i.e.

var range = window.getSelection().getRangeAt(0);
var rectList = range.getClientRects();
var length = rectList.length;

console.log(length);

// In Edge (build 17093) will return 1 when one object is selected

// 0 when more objects are selected

Attachments

1 attachment

Comments and activity

  • Microsoft Edge Team

    Changed Assigned To to “James M.”

    Changed Steps to Reproduce

  • Hello,

    Thank you for providing this information about the issue. After thorough testing, we are unable to reproduce this problem in Edge 17093 (screenshot attached). Please update this case with exact repro steps including a sample webpage and the specific elements you have selected.

    Best Wishes,
    The MS Edge Team

  • Microsoft Edge Team

    Changed Status to “Not reproducible”

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

Sign in