HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2035

File a bug

SVNBugCommentTime (UTC)
2035Handle outerHTML on elements inside DocumentFragments, because I'm stupid and zcorpan was paying attention.2008-08-10 22:28
Index: source
===================================================================
--- source	(revision 2034)
+++ source	(revision 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>
 

|