HTML Standard Tracker

Filter

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
@@ -7012,26 +7012,35 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
 
     <p>If <var title="">target</var>'s parent node is a
     <code>Document</code> object, throw a
     <code>NO_MODIFICATION_ALLOWED_ERR</code> exception and abort these
     steps.</p>
 
    </li>
 
    <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>
 
    <li>
 
     <p>Let <var title="">target document</var> be the <code
     title="">ownerDocument</code> of <var title="">target</var>.</p>
 
    </li>
 

|