W3C home > Mailing lists > Public > public-html-diffs@w3.org > December 2008

spec/Overview.html 1.1689 2518 Clarify that anything that mutates the d

From: poot <cvsmail@w3.org>
Date: Tue, 2 Dec 2008 19:14:09 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20081202101410.2FB462BC0B@toro.w3.mag.keio.ac.jp>

Clarify that anything that mutates the document via the parser doesn't
involve mutation events. (whatwg r2518)

insertAdjacentHTML(position, text)
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1689.html#dom-insertadjacenthtml-html
innerHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1689.html#dom-innerhtml-html
insertHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1689.html#command-inserthtml
outerHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1689.html#dom-outerhtml-html

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1688&r2=1.1689&f=h
http://html5.org/tools/web-apps-tracker?from=2517&to=2518

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1688
retrieving revision 1.1689
diff -u -d -r1.1688 -r1.1689
--- Overview.html	2 Dec 2008 10:03:51 -0000	1.1688
+++ Overview.html	2 Dec 2008 10:11:32 -0000	1.1689
@@ -6192,7 +6192,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>
 
@@ -6216,7 +6216,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>
 
@@ -6284,7 +6285,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>
 
@@ -6419,7 +6421,10 @@
 
      </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
@@ -33717,7 +33722,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>
Received on Tuesday, 2 December 2008 10:14:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 06:13:57 GMT