- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 10 Oct 2008 00:49:01 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv16717 Modified Files: Overview.html Log Message: WF2: name='' for form controls. (whatwg r2316) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.1488 retrieving revision 1.1489 diff -u -d -r1.1488 -r1.1489 --- Overview.html 10 Oct 2008 00:33:29 -0000 1.1488 +++ Overview.html 10 Oct 2008 00:48:58 -0000 1.1489 @@ -21957,11 +21957,15 @@ on getting, must return the element's <a href=#form-owner>form owner</a>, or null if there isn't one.<p><strong>Constraint validation:</strong> If an element has no <a href=#form-owner>form owner</a>, it is <a href=#barred-from-constraint-validation>barred from constraint - validation</a>.<h4 id=attributes-common-to-form-controls><span class=secno>4.10.13 </span><dfn>Attributes common to form controls</dfn></h4><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 class=XXX>... <dfn id=dom-fe-name title=dom-fe-name>name</dfn> DOM attribute<p><strong>Constraint validation:</strong> If an element does not + validation</a>.<h4 id=attributes-common-to-form-controls><span class=secno>4.10.13 </span><dfn>Attributes common to form controls</dfn></h4><h5 id=naming-form-controls><span class=secno>4.10.13.1 </span>Naming form controls</h5><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><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>.<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><!-- XXX remember to check for a fieldset ancestor that has its + validation</a>.<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.<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><!-- XXX remember to check for a fieldset ancestor that has its disabled attribute set, and always be disabled if you find one --><p class=XXX>... <dfn id=attr-fe-disabled title=attr-fe-disabled>disabled</dfn> content attribute<p class=XXX>... <dfn id=dom-fe-disabled title=dom-fe-disabled>disabled</dfn> DOM attribute<p><strong>Constraint validation:</strong> If an element is <a href=#concept-fe-disabled title=concept-fe-disabled>disabled</a>, it is <a href=#barred-from-constraint-validation>barred from constraint validation</a>.<h5 id=a-form-control-s-value><span class=secno>4.10.13.3 </span>A form control's value</h5><p class=XXX>... <dfn id=concept-fe-value title=concept-fe-value>value</dfn><p class=XXX>... <dfn id=concept-fe-checked title=concept-fe-checked>checkedness</dfn></p><!-- XXX autocomplete: define somewhere that the value may be set from a stored value --><h5 id=autofocusing-a-form-control><span class=secno>4.10.13.4 </span>Autofocusing a form control</h5><p>The <dfn id=attr-fe-autofocus title=attr-fe-autofocus><code>autofocus</code></dfn> content attribute allows the user to indicate that a control is to @@ -29000,8 +29004,7 @@ <dfn id=navigate>navigate</dfn> to a new resource. Navigation always involves <dfn id=source-browsing-context>source browsing context</dfn>, which is the browsing context which was responsible for starting the navigation.<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>A user agent may provide various ways for the user to explicitly cause a browsing context to navigate, in addition to those defined in this specification.<p>When a browsing context is navigated to a new resource, the user
Received on Friday, 10 October 2008 00:58:36 UTC