- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 25 Sep 2009 18:08:36 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv21213 Modified Files: Overview.html Log Message: Make a number of clarifications for authors. (forms-related stuff) (whatwg r4002) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3163 retrieving revision 1.3164 diff -u -d -r1.3163 -r1.3164 --- Overview.html 25 Sep 2009 00:57:03 -0000 1.3163 +++ Overview.html 25 Sep 2009 18:08:33 -0000 1.3164 @@ -31166,7 +31166,8 @@ to be able to rely on his user agent to remember values he has entered for that control.<p>The <a href="#attr-input-autocomplete-default-state" title="attr-input-autocomplete-default-state">default</a> state indicates that the user agent is to use the <code title="attr-form-autocomplete"><a href="#attr-form-autocomplete">autocomplete</a></code> attribute on the - element's <a href="#form-owner">form owner</a> instead.<div class="impl"> + element's <a href="#form-owner">form owner</a> instead. (By default, the <code title="attr-form-autocomplete"><a href="#attr-form-autocomplete">autocomplete</a></code> attribute of + <code><a href="#the-form-element">form</a></code> elements is in the <a href="#attr-form-autocomplete-on-state" title="attr-form-autocomplete-on-state">on</a> state.)<div class="impl"> <p>Each <code><a href="#the-input-element">input</a></code> element has a <dfn id="resulting-autocompletion-state">resulting autocompletion state</dfn>, which is either <i title="">on</i> or <i title="">off</i>.</p> @@ -31437,14 +31438,10 @@ would be impaired.<p class="example">For instance, if the title attribute contained the caption of the control, assistive technology could end up saying something like <samp>The text you have entered does not match the - required pattern. Birthday</samp>, which is not useful.<div class="impl"> - - <p>UAs may still show the <code><a href="#the-title-element-0">title</a></code> in non-error situations + required pattern. Birthday</samp>, which is not useful.<p>UAs may still show the <code><a href="#the-title-element-0">title</a></code> in non-error situations (for example, as a tooltip when hovering over the control), so authors should be careful not to word <code><a href="#the-title-element-0">title</a></code>s as if an - error has necessarily occurred.</p> - - </div><h6 id="the-min-and-max-attributes"><span class="secno">4.10.5.2.9 </span>The <code title="attr-input-min"><a href="#attr-input-min">min</a></code> and <code title="attr-input-max"><a href="#attr-input-max">max</a></code> attributes</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-input-min" title="attr-input-min"><code>min</code></dfn> and <dfn id="attr-input-max" title="attr-input-max"><code>max</code></dfn> attributes indicate + error has necessarily occurred.<h6 id="the-min-and-max-attributes"><span class="secno">4.10.5.2.9 </span>The <code title="attr-input-min"><a href="#attr-input-min">min</a></code> and <code title="attr-input-max"><a href="#attr-input-max">max</a></code> attributes</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-input-min" title="attr-input-min"><code>min</code></dfn> and <dfn id="attr-input-max" title="attr-input-max"><code>max</code></dfn> attributes indicate the allowed range of values for the element.<div class="impl"> <p>Their syntax is defined by the section that defines the <code title="attr-input-type"><a href="#attr-input-type">type</a></code> attribute's current state.</p> @@ -31616,7 +31613,8 @@ <p>Can be set, to change the value.</p> <p>Throws an <code><a href="#invalid_access_err">INVALID_ACCESS_ERR</a></code> exception if it is - set when the control is a file upload control.</p> + set to any value other than the empty string when the control is a + file upload control.</p> </dd> @@ -31638,6 +31636,9 @@ <p>Returns a <code>FileList</code> object listing the <a href="#concept-input-type-file-selected" title="concept-input-type-file-selected">selected files</a> of the form control.</p> + <p>Throws an <code><a href="#invalid_state_err">INVALID_STATE_ERR</a></code> exception if the + control isn't a file control.</p> + </dd> <dt><var title="">input</var> . <code title="dom-input-valueAsDate"><a href="#dom-input-valueasdate">valueAsDate</a></code> [ = <var title="">value</var> ]</dt>
Received on Friday, 25 September 2009 18:23:13 UTC