Skip to content

Commit

Permalink
[e] (0) Make clearer that the parser wins this battle of form associa…
Browse files Browse the repository at this point in the history
…tions.

Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10280

git-svn-id: http://svn.whatwg.org/webapps@5460 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 10, 2010
1 parent 7431672 commit 4025e35
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
9 changes: 6 additions & 3 deletions complete.html
Expand Up @@ -45231,7 +45231,9 @@ <h4 id=association-of-controls-and-forms><span class=secno>4.10.18 </span>Associ
<p>When a <a href=#form-associated-element>form-associated element</a>'s ancestor chain
changes, e.g. because it or one of its ancestors was <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted</a> or <a href=#remove-an-element-from-a-document title="remove an element from a document">removed</a> from a
<code><a href=#document>Document</a></code>, then the user agent must <a href=#reset-the-form-owner>reset the form
owner</a> of that element.</p>
owner</a> of that element. <span class=note>The <a href=#html-parser>HTML
parser</a> overrides this requirement when inserting form
controls.</span></p>

<p>When a <a href=#form-associated-element>form-associated element</a>'s <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is added, removed, or
has its value changed, then the user agent must <a href=#reset-the-form-owner>reset the form
Expand Down Expand Up @@ -79493,8 +79495,9 @@ <h5 id=creating-and-inserting-elements><span class=secno>12.2.5.1 </span>Creatin
and the newly created element doesn't have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, the user agent must
<a href=#concept-form-association title=concept-form-association>associate</a> the newly
created element with the <code><a href=#the-form-element>form</a></code> element pointed to by the
<a href=#form-element-pointer><code title="">form</code> element pointer</a> before
inserting it wherever it is to be inserted.</p>
<a href=#form-element-pointer><code title="">form</code> element pointer</a> when the
element is inserted, instead of running the <a href=#reset-the-form-owner>reset the form
owner</a> algorithm.</p>

<hr><p>When the steps below require the UA to <dfn id=insert-a-foreign-element>insert a foreign
element</dfn> for a token, the UA must first <a href=#create-an-element-for-the-token>create an element
Expand Down
9 changes: 6 additions & 3 deletions index
Expand Up @@ -45211,7 +45211,9 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
<p>When a <a href=#form-associated-element>form-associated element</a>'s ancestor chain
changes, e.g. because it or one of its ancestors was <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted</a> or <a href=#remove-an-element-from-a-document title="remove an element from a document">removed</a> from a
<code><a href=#document>Document</a></code>, then the user agent must <a href=#reset-the-form-owner>reset the form
owner</a> of that element.</p>
owner</a> of that element. <span class=note>The <a href=#html-parser>HTML
parser</a> overrides this requirement when inserting form
controls.</span></p>

<p>When a <a href=#form-associated-element>form-associated element</a>'s <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute is added, removed, or
has its value changed, then the user agent must <a href=#reset-the-form-owner>reset the form
Expand Down Expand Up @@ -75411,8 +75413,9 @@ document.body.appendChild(text);
and the newly created element doesn't have a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute, the user agent must
<a href=#concept-form-association title=concept-form-association>associate</a> the newly
created element with the <code><a href=#the-form-element>form</a></code> element pointed to by the
<a href=#form-element-pointer><code title="">form</code> element pointer</a> before
inserting it wherever it is to be inserted.</p>
<a href=#form-element-pointer><code title="">form</code> element pointer</a> when the
element is inserted, instead of running the <a href=#reset-the-form-owner>reset the form
owner</a> algorithm.</p>

<hr><p>When the steps below require the UA to <dfn id=insert-a-foreign-element>insert a foreign
element</dfn> for a token, the UA must first <a href=#create-an-element-for-the-token>create an element
Expand Down
9 changes: 6 additions & 3 deletions source
Expand Up @@ -50693,7 +50693,9 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
title="insert an element into a document">inserted</span> or <span
title="remove an element from a document">removed</span> from a
<code>Document</code>, then the user agent must <span>reset the form
owner</span> of that element.</p>
owner</span> of that element. <span class="note">The <span>HTML
parser</span> overrides this requirement when inserting form
controls.</span></p>

<p>When a <span>form-associated element</span>'s <code
title="attr-fae-form">form</code> attribute is added, removed, or
Expand Down Expand Up @@ -90850,8 +90852,9 @@ document.body.appendChild(text);
title="attr-fae-form">form</code> attribute, the user agent must
<span title="concept-form-association">associate</span> the newly
created element with the <code>form</code> element pointed to by the
<span><code title="">form</code> element pointer</span> before
inserting it wherever it is to be inserted.</p>
<span><code title="">form</code> element pointer</span> when the
element is inserted, instead of running the <span>reset the form
owner</span> algorithm.</p>

<hr>

Expand Down

0 comments on commit 4025e35

Please sign in to comment.