spec/Overview.html 1.1220 2035 Handle outerHTML on elements inside Docu

Handle outerHTML on elements inside DocumentFragments, because I'm
stupid and zcorpan was paying attention. (whatwg r2035)

outerHTML
http://people.w3.org/mike/diffs/html5/spec/Overview.1.1220.html#outerhtml0

http://people.w3.org/mike/diffs/html5/spec/Overview.diff.html
http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.1219&r2=1.1220&f=h
http://html5.org/tools/web-apps-tracker?from=2034&to=2035

===================================================================
RCS file: /sources/public/html5/spec/Overview.html,v
retrieving revision 1.1219
retrieving revision 1.1220
diff -u -d -r1.1219 -r1.1220
--- Overview.html 10 Aug 2008 22:23:50 -0000 1.1219
+++ Overview.html 10 Aug 2008 22:29:03 -0000 1.1220
@@ -9073,10 +9073,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>

Received on Sunday, 10 August 2008 22:32:35 UTC