[html5] r2518 - [] (0) Clarify that anything that mutates the document via the parser doesn't in [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Dec 2 02:11:29 PST 2008
Author: ianh
Date: 2008-12-02 02:11:28 -0800 (Tue, 02 Dec 2008)
New Revision: 2518
Modified:
index
source
Log:
[] (0) Clarify that anything that mutates the document via the parser doesn't involve mutation events.
Modified: index
===================================================================
--- index 2008-12-02 10:03:46 UTC (rev 2517)
+++ index 2008-12-02 10:11:28 UTC (rev 2518)
@@ -7604,7 +7604,7 @@
<li>
<p>Remove the children of the element whose <code title=dom-innerHTML-HTML><a href=#dom-innerhtml-html>innerHTML</a></code> attribute is being
- set.</p>
+ set, without firing any mutation events.</p>
</li>
@@ -7628,7 +7628,8 @@
<p>Append all the <var title="">new children</var> nodes to the
node whose <code title=dom-innerHTML-HTML><a href=#dom-innerhtml-html>innerHTML</a></code>
- attribute is being set, preserving their order.</p>
+ attribute is being set, preserving their order, without firing any
+ mutation events.</p>
</li>
@@ -7700,7 +7701,8 @@
<p>Remove <var title="">target</var> from its parent node and
insert in its place all the <var title="">new children</var>
- nodes, preserving their order.</p>
+ nodes, preserving their order, without firing any mutation
+ events.</p>
</li>
@@ -7837,8 +7839,11 @@
</dd>
- </dl></li>
+ </dl><p>The above mutations must be performed without firing any
+ mutation events.</p>
+ </li>
+
</ol><!-- XXX must make sure we spec that innerHTML et al causes mutation
events to fire, but document.write() doesn't. (the latter is already
req-stated in the parser section, btw) --><!-- http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/innerhtml.asp --><!-- http://lxr.mozilla.org/seamonkey/source/content/html/content/src/nsGenericHTMLElement.cpp#879
@@ -42057,7 +42062,8 @@
<i><a href=#context>context</a></i> element and with the <var title="">value</var>
argument as <i><a href=#the-input-element>input</a></i>.</li>
<li><p>Insert the nodes returned by the previous step into the
- document at the location of the caret.</li>
+ document at the location of the caret, without firing any
+ mutation events.</li>
</ol></dd>
<dd><strong>Enabled When:</strong> The document is <a href=#ready-for-editing-host-commands>ready for
editing host commands</a>.</dd>
Modified: source
===================================================================
--- source 2008-12-02 10:03:46 UTC (rev 2517)
+++ source 2008-12-02 10:11:28 UTC (rev 2518)
@@ -7823,7 +7823,7 @@
<p>Remove the children of the element whose <code
title="dom-innerHTML-HTML">innerHTML</code> attribute is being
- set.</p>
+ set, without firing any mutation events.</p>
</li>
@@ -7848,7 +7848,8 @@
<p>Append all the <var title="">new children</var> nodes to the
node whose <code title="dom-innerHTML-HTML">innerHTML</code>
- attribute is being set, preserving their order.</p>
+ attribute is being set, preserving their order, without firing any
+ mutation events.</p>
</li>
@@ -7931,7 +7932,8 @@
<p>Remove <var title="">target</var> from its parent node and
insert in its place all the <var title="">new children</var>
- nodes, preserving their order.</p>
+ nodes, preserving their order, without firing any mutation
+ events.</p>
</li>
@@ -8087,6 +8089,9 @@
</dl>
+ <p>The above mutations must be performed without firing any
+ mutation events.</p>
+
</li>
</ol>
@@ -47997,7 +48002,8 @@
<i>context</i> element and with the <var title="">value</var>
argument as <i>input</i>.</p></li>
<li><p>Insert the nodes returned by the previous step into the
- document at the location of the caret.</p></li>
+ document at the location of the caret, without firing any
+ mutation events.</p></li>
</ol>
</dd>
<dd><strong>Enabled When:</strong> The document is <span>ready for
More information about the Commit-Watchers
mailing list