[html5] r2035 - [] (0) Handle outerHTML on elements inside DocumentFragments, because I'm stupid [...]

whatwg at whatwg.org whatwg at whatwg.org
Sun Aug 10 15:29:00 PDT 2008


Author: ianh
Date: 2008-08-10 15:28:59 -0700 (Sun, 10 Aug 2008)
New Revision: 2035

Modified:
   index
   source
Log:
[] (0) Handle outerHTML on elements inside DocumentFragments, because I'm stupid and zcorpan was paying attention.

Modified: index
===================================================================
--- index	2008-08-10 22:23:45 UTC (rev 2034)
+++ index	2008-08-10 22:28:59 UTC (rev 2035)
@@ -9065,10 +9065,16 @@
      abort these steps.</p>
 
    <li>
+    <p>Let <var title="">parent</var> be <var title="">target</var>'s parent
+     node, unless that is a <code>DocumentFragment</code> node, in which case
+     let <var title="">parent</var> be an arbitrary <code><a
+     href="#body0">body</a></code> element.</p>
+
+   <li>
     <p>Invoke the <a href="#html-fragment0">HTML fragment parsing
-     algorithm</a>, with <var title="">target</var>'s parent element as the
-     <var title="">context</var> element and the string being assigned into
-     the <code title=dom-outerHTML-HTML><a
+     algorithm</a>, with <var title="">parent</var> as the <var
+     title="">context</var> element and the string being assigned into the
+     <code title=dom-outerHTML-HTML><a
      href="#outerhtml0">outerHTML</a></code> attribute as the <var
      title="">input</var>. Let <var title="">new children</var> be the result
      of this algorithm.</p>

Modified: source
===================================================================
--- source	2008-08-10 22:23:45 UTC (rev 2034)
+++ source	2008-08-10 22:28:59 UTC (rev 2035)
@@ -7019,12 +7019,21 @@
 
    <li>
 
+    <p>Let <var title="">parent</var> be <var title="">target</var>'s
+    parent node, unless that is a <code>DocumentFragment</code> node,
+    in which case let <var title="">parent</var> be an arbitrary
+    <code>body</code> element.</p>
+
+   </li>
+
+   <li>
+
     <p>Invoke the <span>HTML fragment parsing algorithm</span>, with
-    <var title="">target</var>'s parent element as the <var
-    title="">context</var> element and the string being assigned into
-    the <code title="dom-outerHTML-HTML">outerHTML</code> attribute as
-    the <var title="">input</var>. Let <var title="">new
-    children</var> be the result of this algorithm.</p>
+    <var title="">parent</var> as the <var title="">context</var>
+    element and the string being assigned into the <code
+    title="dom-outerHTML-HTML">outerHTML</code> attribute as the <var
+    title="">input</var>. Let <var title="">new children</var> be the
+    result of this algorithm.</p>
 
    </li>
 




More information about the Commit-Watchers mailing list