This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
http://dom.spec.whatwg.org/#childnode [[ Element implements ChildNode; ]] Text should also implement ChildNode; There's no reason you shouldn't be able to do nextElementSibling from a Text node, or do .before(...) on a Text node.
In truth, we should probably have this for every node type. For example nextElementSibling should work on Comment nodes too.
That's why CharacterData implements this interface too.