[html5] r4979 - [giow] (0) Fix details of form-association to handle a non-form element with a m [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Apr 6 02:01:46 PDT 2010
Author: ianh
Date: 2010-04-06 02:01:44 -0700 (Tue, 06 Apr 2010)
New Revision: 4979
Modified:
complete.html
index
source
Log:
[giow] (0) Fix details of form-association to handle a non-form element with a matching ID being inserted (by ID change) before the existing form, and to handle a new element with that ID being inserted or an element with that ID being removed.
Modified: complete.html
===================================================================
--- complete.html 2010-04-06 01:53:22 UTC (rev 4978)
+++ complete.html 2010-04-06 09:01:44 UTC (rev 4979)
@@ -40767,8 +40767,15 @@
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 ID of any of the
- <code><a href=#the-form-element>form</a></code> 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
+ 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
+ ID 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
@@ -40790,8 +40797,8 @@
content attribute, then run these substeps:</p>
<ol><!-- note that this ignores the name="" attribute and is
- unaffected by quirks mode (it's always case sensitive) --><li><p>If the first element in the <code><a href=#document>Document</a></code> to have
- an ID that is <a href=#case-sensitive title=case-sensitive>case-sensitively</a> equal to the
+ unaffected by quirks mode (it's always case sensitive) --><li><p>If the first element <a href=#in-a-document title="in a Document">in the
+ <code>Document</code></a> to have an ID that is <a href=#case-sensitive title=case-sensitive>case-sensitively</a> equal to the
element's <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> content
attribute's value is a <code><a href=#the-form-element>form</a></code> element, then <a href=#concept-form-association title=concept-form-association>associate</a> the
<a href=#form-associated-element>form-associated element</a> with that <code><a href=#the-form-element>form</a></code>
Modified: index
===================================================================
--- index 2010-04-06 01:53:22 UTC (rev 4978)
+++ index 2010-04-06 09:01:44 UTC (rev 4979)
@@ -40668,8 +40668,15 @@
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 ID of any of the
- <code><a href=#the-form-element>form</a></code> 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
+ 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
+ ID 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
@@ -40691,8 +40698,8 @@
content attribute, then run these substeps:</p>
<ol><!-- note that this ignores the name="" attribute and is
- unaffected by quirks mode (it's always case sensitive) --><li><p>If the first element in the <code><a href=#document>Document</a></code> to have
- an ID that is <a href=#case-sensitive title=case-sensitive>case-sensitively</a> equal to the
+ unaffected by quirks mode (it's always case sensitive) --><li><p>If the first element <a href=#in-a-document title="in a Document">in the
+ <code>Document</code></a> to have an ID that is <a href=#case-sensitive title=case-sensitive>case-sensitively</a> equal to the
element's <code title=attr-fae-form><a href=#attr-fae-form>form</a></code> content
attribute's value is a <code><a href=#the-form-element>form</a></code> element, then <a href=#concept-form-association title=concept-form-association>associate</a> the
<a href=#form-associated-element>form-associated element</a> with that <code><a href=#the-form-element>form</a></code>
Modified: source
===================================================================
--- source 2010-04-06 01:53:22 UTC (rev 4978)
+++ source 2010-04-06 09:01:44 UTC (rev 4979)
@@ -45393,8 +45393,16 @@
<p>When a <span>form-associated element</span> has a <code
title="attr-fae-form">form</code> attribute and the ID of any of the
- <code>form</code> elements in the <code>Document</code> changes,
- then the user agent must <span>reset the form owner</span> of that
+ 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
+ ID 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
@@ -45421,8 +45429,8 @@
<!-- note that this ignores the name="" attribute and is
unaffected by quirks mode (it's always case sensitive) -->
- <li><p>If the first element in the <code>Document</code> to have
- an ID that is <span
+ <li><p>If the first element <span title="in a Document">in the
+ <code>Document</code></span> to have an ID that is <span
title="case-sensitive">case-sensitively</span> equal to the
element's <code title="attr-fae-form">form</code> content
attribute's value is a <code>form</code> element, then <span
More information about the Commit-Watchers
mailing list