ElementTraversal

Deprecated

This feature is no longer recommended. Though some browsers might still support it, it may have already been removed from the relevant web standards, may be in the process of being dropped, or may only be kept for compatibility purposes. Avoid using it, and update existing code if possible; see the compatibility table at the bottom of this page to guide your decision. Be aware that this feature may cease to work at any time.

The ElementTraversal interface used to define methods that allowed access from one Node to another in the document tree.

It proved useless, as very few types of Node were able to implement all its methods and properties. It has been split into two interfaces, containing the useful methods and properties for each kind of nodes:

As it was a pure interface, with no object of this type, this change has no effect on the Web.

Specifications

Specification Status Comment
DOM
The definition of 'ChildNode' in that specification.
Living Standard Splitted the ElementTraversal interface in ParentNode and ChildNode
Element Traversal Specification
The definition of 'ElementTraversal' in that specification.
Obsolete Initial definition