When using IE, if I have a comment and try to access the
Next Element Sibling is undefined
Next Element Sibling is found
It's not just IE, it's older browsers in general.
nextElementSibling was a property of
Elements only, not of comment nodes. Only recently the interface was changed to make the property available on other kinds of nodes as well.