[html5] r5460 - [e] (0) Make clearer that the parser wins this battle of form associations. Fixi [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Sep 9 17:41:35 PDT 2010


Author: ianh
Date: 2010-09-09 17:41:34 -0700 (Thu, 09 Sep 2010)
New Revision: 5460

Modified:
   complete.html
   index
   source
Log:
[e] (0) Make clearer that the parser wins this battle of form associations.
Fixing http://www.w3.org/Bugs/Public/show_bug.cgi?id=10280

Modified: complete.html
===================================================================
--- complete.html	2010-09-10 00:13:19 UTC (rev 5459)
+++ complete.html	2010-09-10 00:41:34 UTC (rev 5460)
@@ -45231,7 +45231,9 @@
   <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
@@ -79493,8 +79495,9 @@
   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

Modified: index
===================================================================
--- index	2010-09-10 00:13:19 UTC (rev 5459)
+++ index	2010-09-10 00:41:34 UTC (rev 5460)
@@ -45211,7 +45211,9 @@
   <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
@@ -75411,8 +75413,9 @@
   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

Modified: source
===================================================================
--- source	2010-09-10 00:13:19 UTC (rev 5459)
+++ source	2010-09-10 00:41:34 UTC (rev 5460)
@@ -50693,7 +50693,9 @@
   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
@@ -90850,8 +90852,9 @@
   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>
 




More information about the Commit-Watchers mailing list