getElementsByClassName() for SVG bug

Issue #11729645 • Assigned to Travis L.


Freddy A.
Apr 20, 2017
This issue is public.
Found in
  • Microsoft Edge
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Collecting SVG elements with getElementsByClassName() throws sometimes an error:
"document.getElementsByClassName(‘className’)" works, but
"document.getElementById(‘someParent’).getElementsByClassName(‘className’)" not
See example at


0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “James M.”

      Changed Assigned To to “Travis L.”

    • What is the status on this issue? Did anyone confirm this error?
      No other browser (Chrome, Firefox, Opera) has this issue. It did only pop up with Edge. I don’t have IE, so i don’t know if it gives any problems there.

    • Hello, is there anyone who read these reports? Or are we talking to walls?

      This is not the first report on this issue see:
      The problem wasn’t solved here.

      Also here under “known issues” is stated that “getElementsByClassName” under IE11 is not working for SVG-elements.

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

    Sign in