Skip to content

Commit

Permalink
[cgiowt] (1) innerHTML on template contents works like outside templa…
Browse files Browse the repository at this point in the history
…tes, when it comes to forms.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=24017
Affected topics: HTML Syntax and Parsing

git-svn-id: http://svn.whatwg.org/webapps@8337 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Dec 9, 2013
1 parent 22ef1e0 commit da4120d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
9 changes: 4 additions & 5 deletions complete.html
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 December 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 9 December 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -92903,12 +92903,11 @@ <h3 id=serializing-html-fragments><span class=secno>12.3 </span>Serializing HTML

<li>

<p>If neither the <var title=concept-frag-parse-context><a href=#concept-frag-parse-context>context</a></var> element nor any of
its ancestors are <code><a href=#the-template-element>template</a></code> elements, then set the parser's
<!--CLEANUP-->
<p>Set the parser's
<a href=#form-element-pointer><code>form</code> element pointer</a> to the nearest node to the <var title=concept-frag-parse-context><a href=#concept-frag-parse-context>context</a></var> element that is a <code><a href=#the-form-element>form</a></code> element
(going straight up the ancestor chain, and including the element itself, if it is a
<code><a href=#the-form-element>form</a></code> element), if any. (If there is no such <code><a href=#the-form-element>form</a></code> element, or if
there's a <code><a href=#the-template-element>template</a></code> element in the ancestor chain, the <a href=#form-element-pointer><code>form</code>
<code><a href=#the-form-element>form</a></code> element), if any. (If there is no such <code><a href=#the-form-element>form</a></code> element, the <a href=#form-element-pointer><code>form</code>
element pointer</a> keeps its initial value, null.)</p>

</li>
Expand Down
9 changes: 4 additions & 5 deletions index
Expand Up @@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 7 December 2013</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 9 December 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -92903,12 +92903,11 @@ document.body.appendChild(text);

<li>

<p>If neither the <var title=concept-frag-parse-context><a href=#concept-frag-parse-context>context</a></var> element nor any of
its ancestors are <code><a href=#the-template-element>template</a></code> elements, then set the parser's
<!--CLEANUP-->
<p>Set the parser's
<a href=#form-element-pointer><code>form</code> element pointer</a> to the nearest node to the <var title=concept-frag-parse-context><a href=#concept-frag-parse-context>context</a></var> element that is a <code><a href=#the-form-element>form</a></code> element
(going straight up the ancestor chain, and including the element itself, if it is a
<code><a href=#the-form-element>form</a></code> element), if any. (If there is no such <code><a href=#the-form-element>form</a></code> element, or if
there's a <code><a href=#the-template-element>template</a></code> element in the ancestor chain, the <a href=#form-element-pointer><code>form</code>
<code><a href=#the-form-element>form</a></code> element), if any. (If there is no such <code><a href=#the-form-element>form</a></code> element, the <a href=#form-element-pointer><code>form</code>
element pointer</a> keeps its initial value, null.)</p>

</li>
Expand Down
7 changes: 3 additions & 4 deletions source
Expand Up @@ -103498,13 +103498,12 @@ document.body.appendChild(text);

<li>

<p>If neither the <var data-x="concept-frag-parse-context">context</var> element nor any of
its ancestors are <code>template</code> elements, then set the parser's
<!--CLEANUP-->
<p>Set the parser's
<span><code>form</code> element pointer</span> to the nearest node to the <var
data-x="concept-frag-parse-context">context</var> element that is a <code>form</code> element
(going straight up the ancestor chain, and including the element itself, if it is a
<code>form</code> element), if any. (If there is no such <code>form</code> element, or if
there's a <code>template</code> element in the ancestor chain, the <span><code>form</code>
<code>form</code> element), if any. (If there is no such <code>form</code> element, the <span><code>form</code>
element pointer</span> keeps its initial value, null.)</p>

</li>
Expand Down

0 comments on commit da4120d

Please sign in to comment.