W3C home > Mailing lists > Public > public-html-diffs@w3.org > August 2009

hixie: Make innerHTML, outerHTML, and insertAdjacentHTML() trigger mutation events as if a DocumentFragment had been inserted. (whatwg r3564)

From: poot <cvsmail@w3.org>
Date: Sat, 8 Aug 2009 16:51:16 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090808075116.C17D52BCB2@toro.w3.mag.keio.ac.jp>
hixie: Make innerHTML, outerHTML, and insertAdjacentHTML() trigger
mutation events as if a DocumentFragment had been inserted. (whatwg
r3564)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.2756&r2=1.2757&f=h
http://html5.org/tools/web-apps-tracker?from=3563&to=3564

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.2756
retrieving revision 1.2757
diff -u -d -r1.2756 -r1.2757
--- Overview.html	8 Aug 2009 01:41:36 -0000	1.2756
+++ Overview.html	8 Aug 2009 07:50:44 -0000	1.2757
@@ -8457,7 +8457,7 @@
     <p>Append all the <var title="">new children</var> nodes to the
     node whose <code title="dom-innerHTML"><a href="#dom-innerhtml">innerHTML</a></code> attribute
     is being set, preserving their order, and firing mutation events
-    as appropriate.</p>
+    as if a <code>DocumentFragment</code> containing the <var title="">new children</var> had been inserted.</p>
 
    </li>
 
@@ -8556,7 +8556,9 @@
     <p>Remove <var title="">target</var> from its parent node, firing
     mutation events as appropriate, and then insert in its place all
     the <var title="">new children</var> nodes, preserving their
-    order, and again firing mutation events as appropriate.</p>
+    order, and again firing mutation events as if a
+    <code>DocumentFragment</code> containing the <var title="">new
+    children</var> had been inserted.</p>
 
    </li>
 
@@ -8723,7 +8725,7 @@
 
     </dl><p>The <var title="">new children</var> nodes must be inserted in
     a manner that preserves their order and fires mutation events as
-    appropriate.</p>
+    if a <code>DocumentFragment</code> containing the <var title="">new children</var> had been inserted.</p>
 
    </li>
Received on Saturday, 8 August 2009 07:51:53 GMT

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