[html5] r2316 - [] (0) WF2: name='' for form controls.

whatwg at whatwg.org whatwg at whatwg.org
Thu Oct 9 17:48:55 PDT 2008


Author: ianh
Date: 2008-10-09 17:48:54 -0700 (Thu, 09 Oct 2008)
New Revision: 2316

Modified:
   index
   source
Log:
[] (0) WF2: name='' for form controls.

Modified: index
===================================================================
--- index	2008-10-10 00:33:25 UTC (rev 2315)
+++ index	2008-10-10 00:48:54 UTC (rev 2316)
@@ -27206,18 +27206,22 @@
 
   <h5 id=naming-form-controls><span class=secno>4.10.13.1 </span>Naming form controls</h5>
 
-  <p class=XXX>... <dfn id=attr-fe-name title=attr-fe-name>name</dfn> content attribute</p>
+  <p>The <dfn id=attr-fe-name title=attr-fe-name><code>name</code></dfn> content
+  attribute gives the name of the form control, as used in form
+  submission and in the <code><a href=#the-form-element>form</a></code> element's <code title=dom-form-elements><a href=#dom-form-elements>elements</a></code> object. If the attribute
+  is specified, its value must not be the empty string.</p>
 
-  <p class=XXX>... <dfn id=dom-fe-name title=dom-fe-name>name</dfn> DOM attribute</p>
-
   <p><strong>Constraint validation:</strong> If an element does not
   have a <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> attribute specified,
   or its <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> attribute's value is
   the empty string, then it is <a href=#barred-from-constraint-validation>barred from constraint
   validation</a>.</p>
 
+  <p>The <dfn id=dom-fe-name title=dom-fe-name><code>name</code></dfn> DOM
+  attribute must <a href=#reflect>reflect</a> the <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> content attribute.</p>
 
 
+
   <h5 id=enabling-and-disabling-form-controls><span class=secno>4.10.13.2 </span>Enabling and disabling form controls</h5>
 
   <p class=XXX>... <dfn id=concept-fe-disabled title=concept-fe-disabled>disabled</dfn></p>
@@ -35928,8 +35932,7 @@
   which was responsible for starting the navigation.</p>
 
   <p class=example>For example, <a href=#following-hyperlinks title="following
-  hyperlinks">following a hyperlink</a>, <span title="">form
-  submission</span>, and the <code title=dom-open><a href=#dom-open>window.open()</a></code> and <code title=dom-location-assign><a href=#dom-location-assign>location.assign()</a></code> methods can all
+  hyperlinks">following a hyperlink</a>, <a href=#concept-form-submit title=concept-form-submit>form submission</a>, and the <code title=dom-open><a href=#dom-open>window.open()</a></code> and <code title=dom-location-assign><a href=#dom-location-assign>location.assign()</a></code> methods can all
   cause a browsing context to navigate.</p>
 
   <p>A user agent may provide various ways for the user to explicitly

Modified: source
===================================================================
--- source	2008-10-10 00:33:25 UTC (rev 2315)
+++ source	2008-10-10 00:48:54 UTC (rev 2316)
@@ -30549,18 +30549,24 @@
 
   <h5>Naming form controls</h5>
 
-  <p class="XXX">... <dfn title="attr-fe-name">name</dfn> content attribute</p>
+  <p>The <dfn title="attr-fe-name"><code>name</code></dfn> content
+  attribute gives the name of the form control, as used in form
+  submission and in the <code>form</code> element's <code
+  title="dom-form-elements">elements</code> object. If the attribute
+  is specified, its value must not be the empty string.</p>
 
-  <p class="XXX">... <dfn title="dom-fe-name">name</dfn> DOM attribute</p>
-
   <p><strong>Constraint validation:</strong> If an element does not
   have a <code title="attr-fe-name">name</code> attribute specified,
   or its <code title="attr-fe-name">name</code> attribute's value is
   the empty string, then it is <span>barred from constraint
   validation</span>.</p>
 
+  <p>The <dfn title="dom-fe-name"><code>name</code></dfn> DOM
+  attribute must <span>reflect</span> the <code
+  title="attr-fe-name">name</code> content attribute.</p>
 
 
+
   <h5>Enabling and disabling form controls</h5>
 
   <p class="XXX">... <dfn title="concept-fe-disabled">disabled</dfn></p>
@@ -40859,8 +40865,8 @@
   which was responsible for starting the navigation.</p>
 
   <p class="example">For example, <span title="following
-  hyperlinks">following a hyperlink</span>, <span title="">form
-  submission</span>, and the <code
+  hyperlinks">following a hyperlink</span>, <span
+  title="concept-form-submit">form submission</span>, and the <code
   title="dom-open">window.open()</code> and <code
   title="dom-location-assign">location.assign()</code> methods can all
   cause a browsing context to navigate.</p>




More information about the Commit-Watchers mailing list