In IE11 children and parentElement are undefined for SVG elements.
Instead childNodes and parentNode should be used.
use parentNode instead of parentElement
Does this happen only in IE11? Would you maybe add a test as well for the problem?
I believe it is IE11 only. I don't have access to my IE11 machine right now.
It should be quite simple to write a test for the HTMLDOM API.
removed all references to parentElement, changed to parentNode. updat…
updated description of test
@paldepind I wrote a test now. This is quite critical for us, as our application breaks in SVG when drawing charts.
Great! Thanks for the PR.
I plan on doing the next release in ~ 1 week.
@paldepind det var så lidt.