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

Revision 744085 of ElementTraversal

  • Revision slug: Web/API/ElementTraversal
  • Revision title: ElementTraversal
  • Revision id: 744085
  • Created:
  • Creator: teoli
  • Is current revision? No
  • Comment Mountain View APIRef Project

Revision Content

{{APIRef("DOM")}}{{obsolete_header}}

The ElementTraversal 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

 

Revision Source

<p>{{APIRef("DOM")}}{{obsolete_header}}</p>

<p>The <strong><code>ElementTraversal</code></strong> interface was defining methods allowing to access from one {{domxref("Node")}} to another one in the document tree.</p>

<p>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.</p>

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

<h2 id="Specification" name="Specification">Specifications</h2>

<table class="standard-table">
 <tbody>
 </tbody>
</table>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">Specification</th>
   <th scope="col">Status</th>
   <th scope="col">Comment</th>
  </tr>
  <tr>
   <td>{{SpecName('DOM WHATWG', '#interface-childnode', 'ChildNode')}}</td>
   <td>{{Spec2('DOM WHATWG')}}</td>
   <td>Splitted the <code>ElementTraversal</code> interface in {{domxref("ParentNode")}} and {{domxref("ChildNode")}}</td>
  </tr>
  <tr>
   <td>{{SpecName('Element Traversal', '#interface-elementTraversal', 'ElementTraversal')}}</td>
   <td>{{Spec2('Element Traversal')}}</td>
   <td>Initial definition</td>
  </tr>
 </tbody>
</table>

<p>&nbsp;</p>
Revert to this revision