Internet Explorer 11 throws a "syntax error" when using a pseudo selector in "querySelectorAll" on an element which is not attached to the DOM

Won’t fix Issue #16104908

Details

Author
Andrei V.
Created
Feb 26, 2018
Privacy
This issue is public.
Found in
  • Internet Explorer
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Internet Explorer 11 throws a “syntax error” when using a pseudo selector in “querySelectorAll” on an element which is not (yet) attached to the DOM. The method works as intended as long as no pseudo selectors are specified.

const el = document.createElement("div");
el.querySelectorAll(".x:not(.y)");

Please see this Fiddle for a live example.

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

    • Hello,

      Thank you for providing your feedback on IE11. We are not accepting feedback on Internet Explorer through this portal any longer (unless security related). We are pleased to report this is fixed in Microsoft Edge.

      Best Wishes,
      The MS Edge Team

    • Microsoft Edge Team

      Changed Status to “Won’t fix”

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

    Sign in