W3C home > Mailing lists > Public > public-html-diffs@w3.org > September 2009

hixie: Make a number of clarifications for authors. (forms-related stuff) (whatwg r4002)

From: poot <cvsmail@w3.org>
Date: Sat, 26 Sep 2009 03:23:22 +0900 (JST)
To: public-html-diffs@w3.org
Message-Id: <20090925182323.0C94D2BC0A@toro.w3.mag.keio.ac.jp>
hixie: Make a number of clarifications for authors. (forms-related
stuff) (whatwg r4002)

http://dev.w3.org/cvsweb/html5/spec/Overview.html?r1=1.3163&r2=1.3164&f=h
http://html5.org/tools/web-apps-tracker?from=4001&to=4002

===================================================================
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:59 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 20:09:00 UTC