Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Give each mutation observer a unique record.

  • Loading branch information...
commit b5d05659b682b2560af6c24e2e2cdbace82811d3 1 parent cfc94f3
@annevk annevk authored
Showing with 52 additions and 52 deletions.
  1. +25 −25 Overview.src.html
  2. +27 −27 dom-core.html
View
50 Overview.src.html
@@ -2503,31 +2503,6 @@ <h2 class=no-num>Goals</h2>
<var title>nextSibling</var>, run these steps:
<ol>
- <li><p>Let <var title>record</var> be a new <code>MutationRecord</code>
- object with its <code title=dom-MutationRecord-type>type</code> set to
- <var title>type</var> and
- <code title=dom-MutationRecord-target>target</code> set to
- <var title>target</var>.
-
- <li><p>If <var title>name</var> and <var title>namespace</var> are given,
- set <var title>record</var>'s
- <code title=dom-MutationRecord-attributeName>attributeName</code> to
- <var title>name</var>, and <var title>record</var>'s
- <code title=dom-MutationRecord-attributeNamespace>attributeNamespace</code>
- to <var title>namespace</var>.
-
- <li><p>If <var title>addedNodes</var>, <var title>removedNodes</var>,
- <var title>previousSibling</var>, and <var title>nextSibling</var> are
- given, set <var title>record</var>'s
- <code title=dom-MutationRecord-addedNodes>addedNodes</code> to
- <var title>addedNodes</var>, <var title>record</var>'s
- <code title=dom-MutationRecord-removedNodes>removedNodes</code> to
- <var title>removedNodes</var>, <var title>record</var>'s
- <code title=dom-MutationRecord-previousSibling>previousSibling</code> to
- <var title>previousSibling</var>, and <var title>record</var>'s
- <code title=dom-MutationRecord-nextSibling>nextSibling</code> to
- <var title>nextSibling</var>.
-
<li><p>Let <var title>interested observers</var> be an initially empty set
of <code>MutationObserver</code> objects optionally paired with a string.
@@ -2583,6 +2558,31 @@ <h2 class=no-num>Goals</h2>
<var title>interested observers</var>:
<ol>
+ <li><p>Let <var title>record</var> be a new <code>MutationRecord</code>
+ object with its <code title=dom-MutationRecord-type>type</code> set to
+ <var title>type</var> and
+ <code title=dom-MutationRecord-target>target</code> set to
+ <var title>target</var>.
+
+ <li><p>If <var title>name</var> and <var title>namespace</var> are given,
+ set <var title>record</var>'s
+ <code title=dom-MutationRecord-attributeName>attributeName</code> to
+ <var title>name</var>, and <var title>record</var>'s
+ <code title=dom-MutationRecord-attributeNamespace>attributeNamespace</code>
+ to <var title>namespace</var>.
+
+ <li><p>If <var title>addedNodes</var>, <var title>removedNodes</var>,
+ <var title>previousSibling</var>, and <var title>nextSibling</var> are
+ given, set <var title>record</var>'s
+ <code title=dom-MutationRecord-addedNodes>addedNodes</code> to
+ <var title>addedNodes</var>, <var title>record</var>'s
+ <code title=dom-MutationRecord-removedNodes>removedNodes</code> to
+ <var title>removedNodes</var>, <var title>record</var>'s
+ <code title=dom-MutationRecord-previousSibling>previousSibling</code> to
+ <var title>previousSibling</var>, and <var title>record</var>'s
+ <code title=dom-MutationRecord-nextSibling>nextSibling</code> to
+ <var title>nextSibling</var>.
+
<li><p>If <var title>observer</var> has a paired string,
set <var title>record</var>'s <code title>oldValue</code> to
<var title>observer</var>'s paired string.
View
54 dom-core.html
@@ -10,7 +10,7 @@
<p><a class="logo" href="//www.whatwg.org/"><img alt="WHATWG" height="100" src="//resources.whatwg.org/logo-dom.svg" width="100"></a></p>
<h1>DOM</h1>
- <h2 class="no-num no-toc" id="living-standard-—-last-updated-29-november-2012">Living Standard — Last Updated 29 November 2012</h2>
+ <h2 class="no-num no-toc" id="living-standard-—-last-updated-3-december-2012">Living Standard — Last Updated 3 December 2012</h2>
<dl>
<dt>This Version:
@@ -42,7 +42,7 @@ <h2 class="no-num no-toc" id="living-standard-—-last-updated-29-november-2012"
<p class="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
-29 November 2012, the editors have made this specification available
+3 December 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
@@ -2569,31 +2569,6 @@ <h4 id="queuing-a-mutation-record"><span class="secno">5.3.2 </span>Queuing a mu
<var title="">nextSibling</var>, run these steps:
<ol>
- <li><p>Let <var title="">record</var> be a new <code><a href="#mutationrecord">MutationRecord</a></code>
- object with its <code title="dom-MutationRecord-type"><a href="#dom-mutationrecord-type">type</a></code> set to
- <var title="">type</var> and
- <code title="dom-MutationRecord-target"><a href="#dom-mutationrecord-target">target</a></code> set to
- <var title="">target</var>.
-
- <li><p>If <var title="">name</var> and <var title="">namespace</var> are given,
- set <var title="">record</var>'s
- <code title="dom-MutationRecord-attributeName"><a href="#dom-mutationrecord-attributename">attributeName</a></code> to
- <var title="">name</var>, and <var title="">record</var>'s
- <code title="dom-MutationRecord-attributeNamespace"><a href="#dom-mutationrecord-attributenamespace">attributeNamespace</a></code>
- to <var title="">namespace</var>.
-
- <li><p>If <var title="">addedNodes</var>, <var title="">removedNodes</var>,
- <var title="">previousSibling</var>, and <var title="">nextSibling</var> are
- given, set <var title="">record</var>'s
- <code title="dom-MutationRecord-addedNodes"><a href="#dom-mutationrecord-addednodes">addedNodes</a></code> to
- <var title="">addedNodes</var>, <var title="">record</var>'s
- <code title="dom-MutationRecord-removedNodes"><a href="#dom-mutationrecord-removednodes">removedNodes</a></code> to
- <var title="">removedNodes</var>, <var title="">record</var>'s
- <code title="dom-MutationRecord-previousSibling"><a href="#dom-mutationrecord-previoussibling">previousSibling</a></code> to
- <var title="">previousSibling</var>, and <var title="">record</var>'s
- <code title="dom-MutationRecord-nextSibling"><a href="#dom-mutationrecord-nextsibling">nextSibling</a></code> to
- <var title="">nextSibling</var>.
-
<li><p>Let <var title="">interested observers</var> be an initially empty set
of <code><a href="#mutationobserver">MutationObserver</a></code> objects optionally paired with a string.
@@ -2649,6 +2624,31 @@ <h4 id="queuing-a-mutation-record"><span class="secno">5.3.2 </span>Queuing a mu
<var title="">interested observers</var>:
<ol>
+ <li><p>Let <var title="">record</var> be a new <code><a href="#mutationrecord">MutationRecord</a></code>
+ object with its <code title="dom-MutationRecord-type"><a href="#dom-mutationrecord-type">type</a></code> set to
+ <var title="">type</var> and
+ <code title="dom-MutationRecord-target"><a href="#dom-mutationrecord-target">target</a></code> set to
+ <var title="">target</var>.
+
+ <li><p>If <var title="">name</var> and <var title="">namespace</var> are given,
+ set <var title="">record</var>'s
+ <code title="dom-MutationRecord-attributeName"><a href="#dom-mutationrecord-attributename">attributeName</a></code> to
+ <var title="">name</var>, and <var title="">record</var>'s
+ <code title="dom-MutationRecord-attributeNamespace"><a href="#dom-mutationrecord-attributenamespace">attributeNamespace</a></code>
+ to <var title="">namespace</var>.
+
+ <li><p>If <var title="">addedNodes</var>, <var title="">removedNodes</var>,
+ <var title="">previousSibling</var>, and <var title="">nextSibling</var> are
+ given, set <var title="">record</var>'s
+ <code title="dom-MutationRecord-addedNodes"><a href="#dom-mutationrecord-addednodes">addedNodes</a></code> to
+ <var title="">addedNodes</var>, <var title="">record</var>'s
+ <code title="dom-MutationRecord-removedNodes"><a href="#dom-mutationrecord-removednodes">removedNodes</a></code> to
+ <var title="">removedNodes</var>, <var title="">record</var>'s
+ <code title="dom-MutationRecord-previousSibling"><a href="#dom-mutationrecord-previoussibling">previousSibling</a></code> to
+ <var title="">previousSibling</var>, and <var title="">record</var>'s
+ <code title="dom-MutationRecord-nextSibling"><a href="#dom-mutationrecord-nextsibling">nextSibling</a></code> to
+ <var title="">nextSibling</var>.
+
<li><p>If <var title="">observer</var> has a paired string,
set <var title="">record</var>'s <code title="">oldValue</code> to
<var title="">observer</var>'s paired string.
Please sign in to comment.
Something went wrong with that request. Please try again.