Please note, this is a STATIC archive of website developer.mozilla.org from November 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

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

文档标签和贡献者

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