{"action":"closed","issue":{"url":"https://api.github.com/repos/WebReflection/dom4/issues/10","labels_url":"https://api.github.com/repos/WebReflection/dom4/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/WebReflection/dom4/issues/10/comments","events_url":"https://api.github.com/repos/WebReflection/dom4/issues/10/events","html_url":"https://github.com/WebReflection/dom4/issues/10","id":54529291,"number":10,"title":"IE9: classList shim fails on SVG elements","user":{"login":"shawnbot","id":113896,"avatar_url":"https://avatars.githubusercontent.com/u/113896?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnbot","html_url":"https://github.com/shawnbot","followers_url":"https://api.github.com/users/shawnbot/followers","following_url":"https://api.github.com/users/shawnbot/following{/other_user}","gists_url":"https://api.github.com/users/shawnbot/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnbot/subscriptions","organizations_url":"https://api.github.com/users/shawnbot/orgs","repos_url":"https://api.github.com/users/shawnbot/repos","events_url":"https://api.github.com/users/shawnbot/events{/privacy}","received_events_url":"https://api.github.com/users/shawnbot/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-16T01:28:11Z","updated_at":"2015-04-28T09:55:48Z","closed_at":"2015-04-28T09:55:48Z","body":"SVG elements' `className` attribute is not a string, so [this line](https://github.com/WebReflection/dom4/blob/master/src/dom4.js#L182) fails. I've had success patching it to read:\r\n\r\n```js\r\nvar className = (node.className.baseVal || node.className).replace(trim, '');\r\n```\r\n\r\nbut there's probably a faster way to determine which one to use.\r\n"}}