ElementTraversal

跳转到:

Our volunteers haven't translated this article into 中文 (简体) yet. Join us and help get the job done!
You can also read the article in English (US).

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.
Obsolete Initial definition

文档标签和贡献者

 此页面的贡献者: Sebastianz, teoli
 最后编辑者: Sebastianz,