Skip to content
Browse files

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

git-svn-id: http://svn.whatwg.org/webapps@2316 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent a54b682 commit 6b5b90e78af48e6e0b4f0e883e9acf7ace935ece @Hixie Hixie committed
Showing with 19 additions and 10 deletions.
  1. +8 −5 index
  2. +11 −5 source
View
13 index
@@ -27206,9 +27206,10 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
<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 class=XXX>... <dfn id=dom-fe-name title=dom-fe-name>name</dfn> DOM 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><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,
@@ -27216,6 +27217,9 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href=#htmleleme
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>
@@ -35928,8 +35932,7 @@ user reload must be equivalent to .reload()
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
View
16 source
@@ -30549,9 +30549,11 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
<h5>Naming form controls</h5>
- <p class="XXX">... <dfn title="attr-fe-name">name</dfn> content attribute</p>
-
- <p class="XXX">... <dfn title="dom-fe-name">name</dfn> DOM 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><strong>Constraint validation:</strong> If an element does not
have a <code title="attr-fe-name">name</code> attribute specified,
@@ -30559,6 +30561,10 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
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>
@@ -40859,8 +40865,8 @@ user reload must be equivalent to .reload()
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>

0 comments on commit 6b5b90e

Please sign in to comment.
Something went wrong with that request. Please try again.