consistify
authorAnne van Kesteren <annevk@opera.com>
Thu, 16 Feb 2012 22:59:18 +0100
changeset 940c2ce3a0a4d47
parent 939 169bb50139ba
child 941 f9c9cac44ce4
consistify
Overview.html
Overview.src.html
dom-core.html
     1.1 --- a/Overview.html	Thu Feb 16 22:53:31 2012 +0100
     1.2 +++ b/Overview.html	Thu Feb 16 22:59:18 2012 +0100
     1.3 @@ -1799,8 +1799,9 @@
     1.4  
     1.5  <hr>
     1.6  
     1.7 -<p>When the <dfn id="dom-mutationobserver-observe" title="dom-MutationObserver-observe"><code>observe(<var title="">target</var>, <var title="">options</var>)</code></dfn>
     1.8 -method is called, these steps must be run:
     1.9 +<p>The
    1.10 +<dfn id="dom-mutationobserver-observe" title="dom-MutationObserver-observe"><code>observe(<var title="">target</var>, <var title="">options</var>)</code></dfn>
    1.11 +method must run these steps:
    1.12  
    1.13  <ol>
    1.14    <li><p>Run these substeps, treating <var title="">options</var> as the <a href="#context-object">context object</a>:
    1.15 @@ -1826,10 +1827,14 @@
    1.16    and add <var title="">target</var> to <var title="">observer</var>'s list of nodes on which it is registered.
    1.17  </ol>
    1.18  
    1.19 -<p>When the <dfn id="dom-mutationobserver-disconnect" title="dom-MutationObserver-disconnect"><code>disconnect</code></dfn> method is called, for each
    1.20 -<a href="#concept-node" title="concept-node">node</a> <var title="">node</var> in the <a href="#context-object">context object</a>'s list of
    1.21 -<a href="#concept-node" title="concept-node">nodes</a>, remove any <a href="#registered-observer" title="registered-observer">registration</a> on <var title="">node</var> for which
    1.22 -the <a href="#context-object">context object</a> is the <b>observer</b>.
    1.23 +<p>The
    1.24 +<dfn id="dom-mutationobserver-disconnect" title="dom-MutationObserver-disconnect"><code>disconnect()</code></dfn>
    1.25 +method must, for each <a href="#concept-node" title="concept-node">node</a>
    1.26 +<var title="">node</var> in the <a href="#context-object">context object</a>'s list of
    1.27 +<a href="#concept-node" title="concept-node">nodes</a>, remove any
    1.28 +<a href="#registered-observer" title="registered-observer">registration</a> on <var title="">node</var>
    1.29 +for which the <a href="#context-object">context object</a> is the <b>observer</b>.
    1.30 +
    1.31  
    1.32  <h4 id="mutation-observation-algorithms"><span class="secno">5.1.5 </span>Mutation observation algorithms</h4>
    1.33  
     2.1 --- a/Overview.src.html	Thu Feb 16 22:53:31 2012 +0100
     2.2 +++ b/Overview.src.html	Thu Feb 16 22:59:18 2012 +0100
     2.3 @@ -1794,8 +1794,9 @@
     2.4  
     2.5  <hr>
     2.6  
     2.7 -<p>When the <dfn title=dom-MutationObserver-observe><code>observe(<var title>target</var>, <var title>options</var>)</code></dfn>
     2.8 -method is called, these steps must be run:
     2.9 +<p>The
    2.10 +<dfn title=dom-MutationObserver-observe><code>observe(<var title>target</var>, <var title>options</var>)</code></dfn>
    2.11 +method must run these steps:
    2.12  
    2.13  <ol>
    2.14    <li><p>Run these substeps, treating <var title>options</var> as the <span>context object</span>:
    2.15 @@ -1821,10 +1822,14 @@
    2.16    and add <var title>target</var> to <var title>observer</var>'s list of nodes on which it is registered.
    2.17  </ol>
    2.18  
    2.19 -<p>When the <dfn title=dom-MutationObserver-disconnect><code>disconnect</code></dfn> method is called, for each
    2.20 -<span title=concept-node>node</span> <var title>node</var> in the <span>context object</span>'s list of
    2.21 -<span title=concept-node>nodes</span>, remove any <span title=registered-observer>registration</span> on <var title>node</var> for which
    2.22 -the <span>context object</span> is the <b>observer</b>.
    2.23 +<p>The
    2.24 +<dfn title=dom-MutationObserver-disconnect><code>disconnect()</code></dfn>
    2.25 +method must, for each <span title=concept-node>node</span>
    2.26 +<var title>node</var> in the <span>context object</span>'s list of
    2.27 +<span title=concept-node>nodes</span>, remove any
    2.28 +<span title=registered-observer>registration</span> on <var title>node</var>
    2.29 +for which the <span>context object</span> is the <b>observer</b>.
    2.30 +
    2.31  
    2.32  <h4>Mutation observation algorithms</h4>
    2.33  
     3.1 --- a/dom-core.html	Thu Feb 16 22:53:31 2012 +0100
     3.2 +++ b/dom-core.html	Thu Feb 16 22:59:18 2012 +0100
     3.3 @@ -1754,8 +1754,9 @@
     3.4  
     3.5  <hr>
     3.6  
     3.7 -<p>When the <dfn id="dom-mutationobserver-observe" title="dom-MutationObserver-observe"><code>observe(<var title="">target</var>, <var title="">options</var>)</code></dfn>
     3.8 -method is called, these steps must be run:
     3.9 +<p>The
    3.10 +<dfn id="dom-mutationobserver-observe" title="dom-MutationObserver-observe"><code>observe(<var title="">target</var>, <var title="">options</var>)</code></dfn>
    3.11 +method must run these steps:
    3.12  
    3.13  <ol>
    3.14    <li><p>Run these substeps, treating <var title="">options</var> as the <a href="#context-object">context object</a>:
    3.15 @@ -1781,10 +1782,14 @@
    3.16    and add <var title="">target</var> to <var title="">observer</var>'s list of nodes on which it is registered.
    3.17  </ol>
    3.18  
    3.19 -<p>When the <dfn id="dom-mutationobserver-disconnect" title="dom-MutationObserver-disconnect"><code>disconnect</code></dfn> method is called, for each
    3.20 -<a href="#concept-node" title="concept-node">node</a> <var title="">node</var> in the <a href="#context-object">context object</a>'s list of
    3.21 -<a href="#concept-node" title="concept-node">nodes</a>, remove any <a href="#registered-observer" title="registered-observer">registration</a> on <var title="">node</var> for which
    3.22 -the <a href="#context-object">context object</a> is the <b>observer</b>.
    3.23 +<p>The
    3.24 +<dfn id="dom-mutationobserver-disconnect" title="dom-MutationObserver-disconnect"><code>disconnect()</code></dfn>
    3.25 +method must, for each <a href="#concept-node" title="concept-node">node</a>
    3.26 +<var title="">node</var> in the <a href="#context-object">context object</a>'s list of
    3.27 +<a href="#concept-node" title="concept-node">nodes</a>, remove any
    3.28 +<a href="#registered-observer" title="registered-observer">registration</a> on <var title="">node</var>
    3.29 +for which the <a href="#context-object">context object</a> is the <b>observer</b>.
    3.30 +
    3.31  
    3.32  <h4 id="mutation-observation-algorithms"><span class="secno">5.1.5 </span>Mutation observation algorithms</h4>
    3.33