Skip to content

[0.8] SVG elements fail on IE11 due to missing classList #1490

Description

@Sleeckx

Opening the following test case on IE11 will throw an error in the _transformElement_ function in the _style-transformer.html_ file because the element doesn't have a classList. Chrome shows the SVG element without a problem.

http://jsbin.com/vududa/1/edit?html,output

Could we maybe add a check for this in the starting condition, like if(useAttr || !element.classList)?

Activity

  1. added a commit that references this issue on May 18, 2015
  2. sorvell commented on May 21, 2015

    @sorvell
    Contributor

    Fixed via 0f5bfa5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions