W3C home > Mailing lists > Public > public-html-commits@w3.org > July 2010

html5/spec association-of-controls-and-forms.html,1.7,1.8 spec.html,1.1084,1.1085

From: Michael Smith via cvs-syncmail <cvsmail@w3.org>
Date: Wed, 28 Jul 2010 00:07:26 +0000
To: public-html-commits@w3.org
Message-Id: <E1OduBC-0007Mn-6D@lionel-hutz.w3.org>
Update of /sources/public/html5/spec
In directory hutz:/tmp/cvs-serv28303

Modified Files:
	association-of-controls-and-forms.html spec.html 
Log Message:
try to clarify this section a little (whatwg r5213)

[updated by splitter]


Index: association-of-controls-and-forms.html
===================================================================
RCS file: /sources/public/html5/spec/association-of-controls-and-forms.html,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- association-of-controls-and-forms.html	27 Jul 2010 21:46:42 -0000	1.7
+++ association-of-controls-and-forms.html	28 Jul 2010 00:07:24 -0000	1.8
@@ -328,11 +328,22 @@
   <dfn id="form-owner">form owner</dfn>. If a <a href="forms.html#form-associated-element">form-associated element</a> is
   not associated with a <code><a href="forms.html#the-form-element">form</a></code> element, its <a href="#form-owner">form
   owner</a> is said to be null.</p><p>A <a href="forms.html#form-associated-element">form-associated element</a> is, by default, associated
-  with its nearest ancestor <code><a href="forms.html#the-form-element">form</a></code> element<span class="impl"> (as described below)</span>, but may have a <dfn id="attr-fae-form" title="attr-fae-form"><code>form</code></dfn> attribute specified to
+  with its <span class="impl">nearest</span> ancestor
+  <code><a href="forms.html#the-form-element">form</a></code> element<span class="impl"> (as described
+  below)</span>, but may have a <dfn id="attr-fae-form" title="attr-fae-form"><code>form</code></dfn> attribute specified to
   override this.</p><p>If a <a href="forms.html#form-associated-element">form-associated element</a> has a <code title="attr-fae-form"><a href="#attr-fae-form">form</a></code> attribute specified, then its
   value must be the ID of a <code><a href="forms.html#the-form-element">form</a></code> element in the element's
   owner <code><a href="infrastructure.html#document">Document</a></code>.</p><div class="impl">
 
+  <p class="note">The rules in this section are complicated by the
+  fact that although conforming documents will never contain nested
+  <code><a href="forms.html#the-form-element">form</a></code> elements, it is quite possible (e.g. using a
+  script that performs DOM manipulation) to generate documents that
+  have such nested elements. They are also complicated by rules in the
+  HTML parser that, for historical reasons, can result in a
+  <a href="forms.html#form-associated-element">form-associated element</a> being associated with a
+  <code><a href="forms.html#the-form-element">form</a></code> element that is not its ancestor.</p>
+
   <p>When a <a href="forms.html#form-associated-element">form-associated element</a> is created, its
   <a href="#form-owner">form owner</a> must be initialized to null (no owner).</p>
 

Index: spec.html
===================================================================
RCS file: /sources/public/html5/spec/spec.html,v
retrieving revision 1.1084
retrieving revision 1.1085
diff -u -d -r1.1084 -r1.1085
--- spec.html	27 Jul 2010 23:47:09 -0000	1.1084
+++ spec.html	28 Jul 2010 00:07:24 -0000	1.1085
@@ -312,7 +312,7 @@
 
    <h1>HTML5</h1>
    <h2 class="no-num no-toc" id="a-vocabulary-and-associated-apis-for-html-and-xhtml">A vocabulary and associated APIs for HTML and XHTML</h2>
-   <h2 class="no-num no-toc" id="editor-s-draft-27-july-2010">Editor's Draft 27 July 2010</h2>
+   <h2 class="no-num no-toc" id="editor-s-draft-28-july-2010">Editor's Draft 28 July 2010</h2>
    <dl><dt>Latest Published Version:</dt>
     <dd><a href="http://www.w3.org/TR/html5/">http://www.w3.org/TR/html5/</a></dd>
     <dt>Latest Editor's Draft:</dt>
@@ -333,7 +333,7 @@
     <a href="Overview.html">single page HTML</a>,
     <a href="spec.html">multipage HTML</a>,
     <a href="author/">author edition</a>.
-This is revision 1.4147.
+This is revision 1.4148.
    </p> 
      <p class="copyright"><a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a>
    &#169; 2010 <a href="http://www.w3.org/"><abbr title="World Wide
@@ -418,7 +418,7 @@
   Group</a> is the W3C working group responsible for this
   specification's progress along the W3C Recommendation
   track.
-  This specification is the 27 July 2010 Editor's Draft.
+  This specification is the 28 July 2010 Editor's Draft.
   </p><!-- UNDER NO CIRCUMSTANCES IS THE PRECEDING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- relationship to other work (required) --><p>Work on this specification is also done at the <a href="http://www.whatwg.org/">WHATWG</a>. The W3C HTML working group
   actively pursues convergence with the WHATWG, as required by the <a href="http://www.w3.org/2007/03/HTML-WG-charter">W3C HTML working
   group charter</a>.</p><!-- UNDER NO CIRCUMSTANCES IS THE FOLLOWING PARAGRAPH TO BE REMOVED OR EDITED WITHOUT TALKING TO IAN FIRST --><!-- required patent boilerplate --><p>This document was produced by a group operating under the <a href="http://www.w3.org/Consortium/Patent-Policy-20040205/">5
Received on Wednesday, 28 July 2010 00:07:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 July 2010 00:07:32 GMT