ElementTraversal

Obsolete
This feature is obsolete. Although it may still work in some browsers, its use is discouraged since it could be removed at any time. Try to avoid using it.

The ElementTraversal interface was defining methods allowing to access from one Node to another one in the document tree.

It proves useless as very few type of Node were able to implement all its methods and properties. It has been split into two interfaces, ChildNode and ParentNode 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.
Recommendation Initial definition

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/elementtraversal

API DOM DOM Reference Obsolete