activeElement is an empty Object

Won’t fix Issue #10998788


valdrin k.
Feb 17, 2017
This issue is public.
Found in
  • Internet Explorer
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Please see the following code: when I load index.html, the activeElement of the document inside the iframe will be an empty object.
This doesn’t happen if I load test.html directly.

  <iframe src="test.html"></iframe>

<!-- test.html -->
  <input type="text">
    var input = document.querySelector('input');
    console.log(document.activeElement); // <-- empty object!


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Status to “Won’t fix”

    • Please note that we are not working on IE feature bugs any
      longer at this time unless they are security related.


      Alternatively, if you have a premier support
      contract you can visit

      and open a support incident and work with an engineer to
      address this issue.


      All the best,

      The MS Edge Team

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

    Sign in