classList not working on SVG elements

Fixed, not yet flighted Issue #1173756


Dec 5, 2014
This issue is public.
Reported by 5 people

Sign in to watch or report this issue.

Steps to reproduce


Repro Steps:

Read the classList of an SVG element. This should be a DOMTokenList, but IE returns undefined.

I have the SVG element:
<circle class=’boo’ r=’70’ />
I get the element via JS and then try to get its classList:
This returns a DOMTokenList in Chrome/ Opera and Firefox, but undefined in IE.

Expected Results:

classList should work on SVG elements.

Actual Results:

Dev Channel specific:



0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Kamen M.”

      Changed Assigned To to “Rossen A.”

      Changed Assigned To from “Rossen A.” to “Kevin B.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Kevin B.” to “Patrick R.”

      Changed Status from “Confirmed” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Status from “In progress” to “In code review”

      Changed Status from “In code review” to “In progress”

      Changed Assigned To from “Patrick R.” to “IE F.”

      Changed Status from “In progress” to “Fixed”

      Changed Status from “Fixed” to “Fixed, not yet flighted”

    • This still doesn’t work for me on IE11 (document.querySelector(‘.boo’).classList still returns undefined).

    • Still does not work, what is the deal Microsoft? Most browsers can handle this easily, why always the one browser that has to make a dev’s life hard.

      Would love to see an update on this ticket, currently dealing with this and would love to not have to rewrite all of my js.

      To be clear: this is marked fix, it is NOT FIXED.

    • Thank
      you for the feedback. This issue appears to have been fixed in Microsoft Edge.
      We’re not presently working on feature bugs in Internet Explorer outside of
      security-related issues.

      If you have a premier support contract you can visit

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


      Microsoft Edge Team

    • Just wanted to confirm that this is still NOT fixed neither in Edge nor in IE11.

    • This is fixed in Edge 16.16299

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

    Sign in