HTML Standard Tracker

Diff (omit for latest revision)
Filter

Short URL: http://html5.org/r/2316

File a bug

SVNBugCommentTime (UTC)
2316WF2: name='' for form controls.2008-10-10 00:48
Index: source
===================================================================
--- source	(revision 2315)
+++ source	(revision 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>

|