range.getClientRects() error

Not reproducible Issue #15947402


Leopoldo P.
Feb 14, 2018
This issue is public.
Found in
  • Microsoft Edge
Found in build #
Reported by 2 people

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;


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

// 0 when more objects are selected


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