1. ms2ger
  2. DOM Core

Commits

annevk  committed 54c5c23 Draft
  • Participants
  • Parent commits ec1b2b9
  • Branches default

Comments (0)

Files changed (3)

File Overview.html

View file
 
 <h4 id="mutation-algorithms"><span class="secno">5.2.1 </span>Mutation algorithms</h4>
 
+<p>At certain points in the algorithms below it is said that
+<dfn id="nodes-are-inserted">nodes are inserted</dfn> and/or <dfn id="nodes-are-removed">nodes are removed</dfn>. These are
+hooks for <a href="#other-applicable-specifications">other applicable specifications</a> to process the
+<a href="#concept-node" title="concept-node">nodes</a> that have been inserted and/or removed
+further and ensures that when multiple <a href="#concept-node" title="concept-node">nodes</a>
+are inserted and/or removed this happens atomically.
+
 <p>To <dfn id="concept-node-pre-insert" title="concept-node-pre-insert">pre-insert</dfn> a
 <var title="">node</var> into a <var title="">parent</var> before a
 <var title="">child</var>, run these steps:
  <li><p>Insert all nodes in <var title="">nodes</var> before
  <var title="">child</var> or at the end of <var title="">parent</var> if
  <var title="">child</var> is null.
+
+ <li><p>If <i title="">suppress observers flag</i> is unset,
+ <a href="#nodes-are-inserted">nodes are inserted</a>.
 </ol>
 
 
  previousSibling <var title="">child</var>'s
  <a href="#concept-tree-previous-sibling" title="concept-tree-previous-sibling">previous sibling</a>.
 
+ <li><p>At this point <a href="#nodes-are-removed">nodes are removed</a> and
+ <a href="#nodes-are-inserted">nodes are inserted</a>.
+
  <li><p>Return <var title="">child</var>.
 </ol>
 
  <var title="">nodes</var>, removedNodes <var title="">parent</var>'s
  <a href="#concept-tree-child" title="concept-tree-child">children</a>, nextSibling null, and
  previousSibling null.
+
+ <li><p>At this point <a href="#nodes-are-removed">nodes are removed</a> and
+ <a href="#nodes-are-inserted">nodes are inserted</a>.
 </ol>
 
 <p class="note">This algorithm does not make any checks with regards to the
  <a href="#registered-observer" title="registered observer">registered observers</a>.
 
  <li><p>Remove <var title="">node</var> from its <var title="">parent</var>.
+
+ <li><p>If <i title="">suppress observers flag</i> is unset,
+ <a href="#nodes-are-removed">nodes are removed</a>.
 </ol>
 
 

File Overview.src.html

View file
 
 <h4>Mutation algorithms</h4>
 
+<p>At certain points in the algorithms below it is said that
+<dfn>nodes are inserted</dfn> and/or <dfn>nodes are removed</dfn>. These are
+hooks for <span>other applicable specifications</span> to process the
+<span title=concept-node>nodes</span> that have been inserted and/or removed
+further and ensures that when multiple <span title=concept-node>nodes</span>
+are inserted and/or removed this happens atomically.
+
 <p>To <dfn title=concept-node-pre-insert>pre-insert</dfn> a
 <var title>node</var> into a <var title>parent</var> before a
 <var title>child</var>, run these steps:
  <li><p>Insert all nodes in <var title>nodes</var> before
  <var title>child</var> or at the end of <var title>parent</var> if
  <var title>child</var> is null.
+
+ <li><p>If <i title>suppress observers flag</i> is unset,
+ <span>nodes are inserted</span>.
 </ol>
 
 
  previousSibling <var title>child</var>'s
  <span title=concept-tree-previous-sibling>previous sibling</span>.
 
+ <li><p>At this point <span>nodes are removed</span> and
+ <span>nodes are inserted</span>.
+
  <li><p>Return <var title>child</var>.
 </ol>
 
  <var title>nodes</var>, removedNodes <var title>parent</var>'s
  <span title=concept-tree-child>children</span>, nextSibling null, and
  previousSibling null.
+
+ <li><p>At this point <span>nodes are removed</span> and
+ <span>nodes are inserted</span>.
 </ol>
 
 <p class=note>This algorithm does not make any checks with regards to the
  <span title="registered observer">registered observers</span>.
 
  <li><p>Remove <var title>node</var> from its <var title>parent</var>.
+
+ <li><p>If <i title>suppress observers flag</i> is unset,
+ <span>nodes are removed</span>.
 </ol>
 
 

File dom-core.html

View file
 
 <h4 id="mutation-algorithms"><span class="secno">5.2.1 </span>Mutation algorithms</h4>
 
+<p>At certain points in the algorithms below it is said that
+<dfn id="nodes-are-inserted">nodes are inserted</dfn> and/or <dfn id="nodes-are-removed">nodes are removed</dfn>. These are
+hooks for <a href="#other-applicable-specifications">other applicable specifications</a> to process the
+<a href="#concept-node" title="concept-node">nodes</a> that have been inserted and/or removed
+further and ensures that when multiple <a href="#concept-node" title="concept-node">nodes</a>
+are inserted and/or removed this happens atomically.
+
 <p>To <dfn id="concept-node-pre-insert" title="concept-node-pre-insert">pre-insert</dfn> a
 <var title="">node</var> into a <var title="">parent</var> before a
 <var title="">child</var>, run these steps:
  <li><p>Insert all nodes in <var title="">nodes</var> before
  <var title="">child</var> or at the end of <var title="">parent</var> if
  <var title="">child</var> is null.
+
+ <li><p>If <i title="">suppress observers flag</i> is unset,
+ <a href="#nodes-are-inserted">nodes are inserted</a>.
 </ol>
 
 
  previousSibling <var title="">child</var>'s
  <a href="#concept-tree-previous-sibling" title="concept-tree-previous-sibling">previous sibling</a>.
 
+ <li><p>At this point <a href="#nodes-are-removed">nodes are removed</a> and
+ <a href="#nodes-are-inserted">nodes are inserted</a>.
+
  <li><p>Return <var title="">child</var>.
 </ol>
 
  <var title="">nodes</var>, removedNodes <var title="">parent</var>'s
  <a href="#concept-tree-child" title="concept-tree-child">children</a>, nextSibling null, and
  previousSibling null.
+
+ <li><p>At this point <a href="#nodes-are-removed">nodes are removed</a> and
+ <a href="#nodes-are-inserted">nodes are inserted</a>.
 </ol>
 
 <p class="note">This algorithm does not make any checks with regards to the
  <a href="#registered-observer" title="registered observer">registered observers</a>.
 
  <li><p>Remove <var title="">node</var> from its <var title="">parent</var>.
+
+ <li><p>If <i title="">suppress observers flag</i> is unset,
+ <a href="#nodes-are-removed">nodes are removed</a>.
 </ol>