Skip to content
Permalink
Browse files

[] (0) Handle outerHTML on elements inside DocumentFragments, because…

… I'm stupid and zcorpan was paying attention.

git-svn-id: http://svn.whatwg.org/webapps@2035 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 10, 2008
1 parent 3530ce1 commit 71ac00fef44ecfee816b4039ea56cc5740a78d7c
Showing with 23 additions and 8 deletions.
  1. +9 −3 index
  2. +14 −5 source
12 index
@@ -9064,11 +9064,17 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0
object, throw a <code>NO_MODIFICATION_ALLOWED_ERR</code> exception and
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>
19 source
@@ -7017,14 +7017,23 @@ http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0

</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>

0 comments on commit 71ac00f

Please sign in to comment.
You can’t perform that action at this time.