[html5] r7094 - [giow] (2) Try to match implementations better. Fixing https://www.w3.org/Bugs/P [...]

whatwg at whatwg.org whatwg at whatwg.org
Mon May 7 16:47:23 PDT 2012


Author: ianh
Date: 2012-05-07 16:47:22 -0700 (Mon, 07 May 2012)
New Revision: 7094

Modified:
   complete.html
   index
   source
Log:
[giow] (2) Try to match implementations better.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=15704
Affected topics: HTML

Modified: complete.html
===================================================================
--- complete.html	2012-05-07 23:31:49 UTC (rev 7093)
+++ complete.html	2012-05-07 23:47:22 UTC (rev 7094)
@@ -52926,28 +52926,36 @@
   <p>When a <a href=#form-associated-element>form-associated element</a> is to be <dfn id=concept-form-association title=concept-form-association>associated</dfn> with a form, its
   <a href=#form-owner>form owner</a> must be set to that form.</p>
 
-  <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. <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> or one of its
+  ancestors is <a href=#insert-an-element-into-a-document title="insert an element into a
+  document">inserted into a <code>Document</code></a>, then the
+  user agent must <a href=#reset-the-form-owner>reset the form owner</a> of that
+  <a href=#form-associated-element>form-associated element</a>. <span class=note>The
+  <a href=#html-parser>HTML parser</a> overrides this requirement when inserting
+  form controls.</span></p>
 
+  <p>When an element is <a href=#remove-an-element-from-a-document title="remove an element from a
+  document">removed from a <code>Document</code></a> resulting in a
+  <a href=#form-associated-element>form-associated element</a> and its <a href=#form-owner>form owner</a>
+  (if any) no longer being in the same <span>host subtree</span>, then
+  the user agent must <a href=#reset-the-form-owner>reset the form owner</a> of that
+  <a href=#form-associated-element>form-associated element</a>.</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 set, changed, or
   removed, then the user agent must <a href=#reset-the-form-owner>reset the form owner</a>
   of that element.</p>
 
-  <p>When a <a href=#form-associated-element>form-associated element</a> has a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute and the <a href=#concept-id title=concept-id>ID</a> of any of the
-  elements in the <code><a href=#document>Document</a></code> changes, then the user agent
-  must <a href=#reset-the-form-owner>reset the form owner</a> of that <a href=#form-associated-element>form-associated
+  <p>When a <a href=#form-associated-element>form-associated element</a> has a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute and the <a href=#concept-id title=concept-id>ID</a> of any of the elements in the
+  <code><a href=#document>Document</a></code> changes, then the user agent must <a href=#reset-the-form-owner>reset
+  the form owner</a> of that <a href=#form-associated-element>form-associated
   element</a>.</p>
 
   <p>When a <a href=#form-associated-element>form-associated element</a> has a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute and an element with an
-  <a href=#concept-id title=concept-id>ID</a> is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
-  into</a> or <a href=#remove-an-element-from-a-document title="remove an element from a
-  document">removed from</a> the <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
-  <a href=#form-associated-element>form-associated element</a>.</p>
+  <a href=#concept-id title=concept-id>ID</a> is <a href=#insert-an-element-into-a-document title="insert an element
+  into a document">inserted into</a> or <a href=#remove-an-element-from-a-document title="remove an
+  element from a document">removed from</a> the
+  <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 <a href=#form-associated-element>form-associated element</a>.</p>
 
   <p>When the user agent is to <dfn id=reset-the-form-owner>reset the form owner</dfn> of a
   <a href=#form-associated-element>form-associated element</a>, it must run the following

Modified: index
===================================================================
--- index	2012-05-07 23:31:49 UTC (rev 7093)
+++ index	2012-05-07 23:47:22 UTC (rev 7094)
@@ -52926,28 +52926,36 @@
   <p>When a <a href=#form-associated-element>form-associated element</a> is to be <dfn id=concept-form-association title=concept-form-association>associated</dfn> with a form, its
   <a href=#form-owner>form owner</a> must be set to that form.</p>
 
-  <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. <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> or one of its
+  ancestors is <a href=#insert-an-element-into-a-document title="insert an element into a
+  document">inserted into a <code>Document</code></a>, then the
+  user agent must <a href=#reset-the-form-owner>reset the form owner</a> of that
+  <a href=#form-associated-element>form-associated element</a>. <span class=note>The
+  <a href=#html-parser>HTML parser</a> overrides this requirement when inserting
+  form controls.</span></p>
 
+  <p>When an element is <a href=#remove-an-element-from-a-document title="remove an element from a
+  document">removed from a <code>Document</code></a> resulting in a
+  <a href=#form-associated-element>form-associated element</a> and its <a href=#form-owner>form owner</a>
+  (if any) no longer being in the same <span>host subtree</span>, then
+  the user agent must <a href=#reset-the-form-owner>reset the form owner</a> of that
+  <a href=#form-associated-element>form-associated element</a>.</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 set, changed, or
   removed, then the user agent must <a href=#reset-the-form-owner>reset the form owner</a>
   of that element.</p>
 
-  <p>When a <a href=#form-associated-element>form-associated element</a> has a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute and the <a href=#concept-id title=concept-id>ID</a> of any of the
-  elements in the <code><a href=#document>Document</a></code> changes, then the user agent
-  must <a href=#reset-the-form-owner>reset the form owner</a> of that <a href=#form-associated-element>form-associated
+  <p>When a <a href=#form-associated-element>form-associated element</a> has a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute and the <a href=#concept-id title=concept-id>ID</a> of any of the elements in the
+  <code><a href=#document>Document</a></code> changes, then the user agent must <a href=#reset-the-form-owner>reset
+  the form owner</a> of that <a href=#form-associated-element>form-associated
   element</a>.</p>
 
   <p>When a <a href=#form-associated-element>form-associated element</a> has a <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> attribute and an element with an
-  <a href=#concept-id title=concept-id>ID</a> is <a href=#insert-an-element-into-a-document title="insert an element into a document">inserted
-  into</a> or <a href=#remove-an-element-from-a-document title="remove an element from a
-  document">removed from</a> the <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
-  <a href=#form-associated-element>form-associated element</a>.</p>
+  <a href=#concept-id title=concept-id>ID</a> is <a href=#insert-an-element-into-a-document title="insert an element
+  into a document">inserted into</a> or <a href=#remove-an-element-from-a-document title="remove an
+  element from a document">removed from</a> the
+  <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 <a href=#form-associated-element>form-associated element</a>.</p>
 
   <p>When the user agent is to <dfn id=reset-the-form-owner>reset the form owner</dfn> of a
   <a href=#form-associated-element>form-associated element</a>, it must run the following

Modified: source
===================================================================
--- source	2012-05-07 23:31:49 UTC (rev 7093)
+++ source	2012-05-07 23:47:22 UTC (rev 7094)
@@ -61779,33 +61779,40 @@
   title="concept-form-association">associated</dfn> with a form, its
   <span>form owner</span> must be set to that form.</p>
 
-  <p>When a <span>form-associated element</span>'s ancestor chain
-  changes, e.g. because it or one of its ancestors was <span
-  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. <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> or one of its
+  ancestors is <span title="insert an element into a
+  document">inserted into a <code>Document</code></span>, then the
+  user agent must <span>reset the form owner</span> of that
+  <span>form-associated element</span>. <span class="note">The
+  <span>HTML parser</span> overrides this requirement when inserting
+  form controls.</span></p>
 
+  <p>When an element is <span title="remove an element from a
+  document">removed from a <code>Document</code></span> resulting in a
+  <span>form-associated element</span> and its <span>form owner</span>
+  (if any) no longer being in the same <span>host subtree</span>, then
+  the user agent must <span>reset the form owner</span> of that
+  <span>form-associated element</span>.</p>
+
   <p>When a <span>form-associated element</span>'s <code
   title="attr-fae-form">form</code> attribute is set, changed, or
   removed, then the user agent must <span>reset the form owner</span>
   of that element.</p>
 
   <p>When a <span>form-associated element</span> has a <code
-  title="attr-fae-form">form</code> attribute and the <span title="concept-id">ID</span> of any of the
-  elements in the <code>Document</code> changes, then the user agent
-  must <span>reset the form owner</span> of that <span>form-associated
+  title="attr-fae-form">form</code> attribute and the <span
+  title="concept-id">ID</span> of any of the elements in the
+  <code>Document</code> changes, then the user agent must <span>reset
+  the form owner</span> of that <span>form-associated
   element</span>.</p>
 
   <p>When a <span>form-associated element</span> has a <code
   title="attr-fae-form">form</code> attribute and an element with an
-  <span title="concept-id">ID</span> is <span title="insert an element into a document">inserted
-  into</span> or <span title="remove an element from a
-  document">removed from</span> the <code>Document</code>, then the
-  user agent must <span>reset the form owner</span> of that
-  <span>form-associated element</span>.</p>
+  <span title="concept-id">ID</span> is <span title="insert an element
+  into a document">inserted into</span> or <span title="remove an
+  element from a document">removed from</span> the
+  <code>Document</code>, then the user agent must <span>reset the form
+  owner</span> of that <span>form-associated element</span>.</p>
 
   <p>When the user agent is to <dfn>reset the form owner</dfn> of a
   <span>form-associated element</span>, it must run the following




More information about the Commit-Watchers mailing list