Skip to content

Commit

Permalink
[] (0) WF2: name='' for form controls.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@2316 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 10, 2008
1 parent a54b682 commit 6b5b90e
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
13 changes: 8 additions & 5 deletions index
Expand Up @@ -27206,16 +27206,20 @@ 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,
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>
Expand Down Expand Up @@ -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
Expand Down
16 changes: 11 additions & 5 deletions source
Expand Up @@ -30549,16 +30549,22 @@ 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,
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>
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 6b5b90e

Please sign in to comment.