Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Sleeckx opened this issue May 6, 2015 · 1 comment
Closed

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

Sleeckx opened this issue May 6, 2015 · 1 comment
Assignees

Comments

@Sleeckx
Copy link

Sleeckx commented May 6, 2015

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)?

@sorvell
Copy link
Contributor

sorvell commented May 21, 2015

Fixed via 0f5bfa5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants