annevk avatar annevk committed bd54554 Draft

remove redundant step in concept-node-replace

Comments (0)

Files changed (3)

 <!--end-logo-->
 </div>
  <h1>DOM4</h1>
- <h2 class="no-num no-toc" id="editor's-draft-3-june-2012">
-  <span class="w3conly">Editor's Draft 3 June 2012</span>
+ <h2 class="no-num no-toc" id="editor's-draft-4-june-2012">
+  <span class="w3conly">Editor's Draft 4 June 2012</span>
   </h2>
 
  <dl>
 steps:
 
 <ol>
- <li><p>If <var title="">child</var>'s
- <a href="#concept-tree-parent" title="concept-tree-parent">parent</a> is not
- <var title="">parent</var>, <a href="#concept-throw" title="concept-throw">throw</a> a
- "<code><a href="#notfounderror">NotFoundError</a></code>" exception and terminate these steps.
+ <li>
+  <p>If <var title="">child</var>'s
+  <a href="#concept-tree-parent" title="concept-tree-parent">parent</a> is not
+  <var title="">parent</var>, <a href="#concept-throw" title="concept-throw">throw</a> a
+  "<code><a href="#notfounderror">NotFoundError</a></code>" exception and terminate these steps.
+
+  <p class="note">This implies <var title="">parent</var> is a
+  <code><a href="#document">Document</a></code>, <code><a href="#documentfragment">DocumentFragment</a></code>, or
+  <code><a href="#element">Element</a></code> <a href="#concept-node" title="concept-node">node</a>.
 
  <li><p>If <var title="">node</var> is an
  <a href="#concept-tree-inclusive-ancestor" title="concept-tree-inclusive-ancestor">inclusive ancestor</a> of
  <var title="">parent</var>, <a href="#concept-throw" title="concept-throw">throw</a> a
  "<code><a href="#hierarchyrequesterror">HierarchyRequestError</a></code>" and terminate these steps.
 
- <li><p>If <var title="">parent</var> is not a <code><a href="#document">Document</a></code>,
- <code><a href="#documentfragment">DocumentFragment</a></code>, or <code><a href="#element">Element</a></code>
- <a href="#concept-node" title="concept-node">node</a>,
- <a href="#concept-throw" title="concept-throw">throw</a> a
- "<code><a href="#hierarchyrequesterror">HierarchyRequestError</a></code>" and terminate these steps.
-
  <li>
   <p>If <var title="">parent</var> is a
   <a href="#concept-document" title="concept-document">document</a>, run these substeps:

Overview.src.html

 steps:
 
 <ol>
- <li><p>If <var title>child</var>'s
- <span title=concept-tree-parent>parent</span> is not
- <var title>parent</var>, <span title=concept-throw>throw</span> a
- "<code>NotFoundError</code>" exception and terminate these steps.
+ <li>
+  <p>If <var title>child</var>'s
+  <span title=concept-tree-parent>parent</span> is not
+  <var title>parent</var>, <span title=concept-throw>throw</span> a
+  "<code>NotFoundError</code>" exception and terminate these steps.
+
+  <p class=note>This implies <var title>parent</var> is a
+  <code>Document</code>, <code>DocumentFragment</code>, or
+  <code>Element</code> <span title=concept-node>node</span>.
 
  <li><p>If <var title>node</var> is an
  <span title=concept-tree-inclusive-ancestor>inclusive ancestor</span> of
  <var title>parent</var>, <span title=concept-throw>throw</span> a
  "<code>HierarchyRequestError</code>" and terminate these steps.
 
- <li><p>If <var title>parent</var> is not a <code>Document</code>,
- <code>DocumentFragment</code>, or <code>Element</code>
- <span title=concept-node>node</span>,
- <span title=concept-throw>throw</span> a
- "<code>HierarchyRequestError</code>" and terminate these steps.
-
  <li>
   <p>If <var title>parent</var> is a
   <span title=concept-document>document</span>, run these substeps:
 
 <div class="head">
 <h1>DOM4</h1>
- <h2 class="no-num no-toc" id="free-editor's-draft-3-june-2012">
-  <span class="now3c">Free Editor's Draft 3 June 2012</span>
+ <h2 class="no-num no-toc" id="free-editor's-draft-4-june-2012">
+  <span class="now3c">Free Editor's Draft 4 June 2012</span>
  </h2>
 
  <dl>
 <p class="now3c copyright"><a href="http://creativecommons.org/publicdomain/zero/1.0/" rel="license"><img alt="CC0" src="http://i.creativecommons.org/p/zero/1.0/80x15.png"></a>
 To the extent possible under law, the editors have waived all copyright and
 related or neighboring rights to this work. In addition, as of
-3 June 2012, the editors have made this specification available
+4 June 2012, the editors have made this specification available
 under the
 <a href="http://www.openwebfoundation.org/legal/the-owf-1-0-agreements/owfa-1-0" rel="license">Open Web Foundation Agreement Version 1.0</a>,
 which is available at
 steps:
 
 <ol>
- <li><p>If <var title="">child</var>'s
- <a href="#concept-tree-parent" title="concept-tree-parent">parent</a> is not
- <var title="">parent</var>, <a href="#concept-throw" title="concept-throw">throw</a> a
- "<code><a href="#notfounderror">NotFoundError</a></code>" exception and terminate these steps.
+ <li>
+  <p>If <var title="">child</var>'s
+  <a href="#concept-tree-parent" title="concept-tree-parent">parent</a> is not
+  <var title="">parent</var>, <a href="#concept-throw" title="concept-throw">throw</a> a
+  "<code><a href="#notfounderror">NotFoundError</a></code>" exception and terminate these steps.
+
+  <p class="note">This implies <var title="">parent</var> is a
+  <code><a href="#document">Document</a></code>, <code><a href="#documentfragment">DocumentFragment</a></code>, or
+  <code><a href="#element">Element</a></code> <a href="#concept-node" title="concept-node">node</a>.
 
  <li><p>If <var title="">node</var> is an
  <a href="#concept-tree-inclusive-ancestor" title="concept-tree-inclusive-ancestor">inclusive ancestor</a> of
  <var title="">parent</var>, <a href="#concept-throw" title="concept-throw">throw</a> a
  "<code><a href="#hierarchyrequesterror">HierarchyRequestError</a></code>" and terminate these steps.
 
- <li><p>If <var title="">parent</var> is not a <code><a href="#document">Document</a></code>,
- <code><a href="#documentfragment">DocumentFragment</a></code>, or <code><a href="#element">Element</a></code>
- <a href="#concept-node" title="concept-node">node</a>,
- <a href="#concept-throw" title="concept-throw">throw</a> a
- "<code><a href="#hierarchyrequesterror">HierarchyRequestError</a></code>" and terminate these steps.
-
  <li>
   <p>If <var title="">parent</var> is a
   <a href="#concept-document" title="concept-document">document</a>, run these substeps:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.