{{deprecated_inline}}
The DocumentTraversal
interface was defining methods allowing to access from one {{domxref("Node")}} to another one in the document tree.
It proves useless as very few type of {{domxref("Node")}} were able to implement all its methods and properties. It has been split into two interfaces, {{domxref("ChildNode")}} and {{domxref("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 |
---|---|---|
{{SpecName('DOM WHATWG', '#interface-childnode', 'ChildNode')}} | {{Spec2('DOM WHATWG')}} | Splitted the ElementTraversal interface in {{domxref("ParentNode")}} and {{domxref("ChildNode")}} |
{{SpecName('Element Traversal', '#interface-elementTraversal', 'ElementTraversal')}} | {{Spec2('Element Traversal')}} | Initial definition |