- From: Ian Hickson via cvs-syncmail <cvsmail@w3.org>
- Date: Mon, 14 Sep 2009 08:35:12 +0000
- To: public-html-commits@w3.org
Update of /sources/public/html5/spec In directory hutz:/tmp/cvs-serv9158 Modified Files: Overview.html Log Message: Try to clarify autocomplete section. (whatwg r3840) Index: Overview.html =================================================================== RCS file: /sources/public/html5/spec/Overview.html,v retrieving revision 1.3006 retrieving revision 1.3007 diff -u -d -r1.3006 -r1.3007 --- Overview.html 14 Sep 2009 07:49:04 -0000 1.3006 +++ Overview.html 14 Sep 2009 08:35:09 -0000 1.3007 @@ -30885,7 +30885,9 @@ agents must <a href="#ignore">ignore</a> the attribute, regardless of the requirements and definitions below.</p> - </div><h6 id="the-autocomplete-attribute"><span class="secno">4.10.4.2.1 </span>The <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>The <dfn id="attr-input-autocomplete" title="attr-input-autocomplete"><code>autocomplete</code></dfn> + </div><h6 id="the-autocomplete-attribute"><span class="secno">4.10.4.2.1 </span>The <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> attribute</h6><p class="XXX annotation"><b>Status: </b><i>Last call for comments</i><p>User agents sometimes have features for helping users fill forms + in, for example prefilling the user's address based on earlier user + input.<p>The <dfn id="attr-input-autocomplete" title="attr-input-autocomplete"><code>autocomplete</code></dfn> attribute is an <a href="#enumerated-attribute">enumerated attribute</a>. The attribute has three states. The <code title="attr-input-autocomplete-on">on</code> keyword maps to the <dfn id="attr-input-autocomplete-on-state" title="attr-input-autocomplete-on-state">on</dfn> state, and the @@ -30911,21 +30913,26 @@ <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> - <p>When an <code><a href="#the-input-element">input</a></code> element's <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> attribute is in - the <a href="#attr-input-autocomplete-on-state" title="attr-input-autocomplete-on-state">on</a> state, - when an <code><a href="#the-input-element">input</a></code> element's <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> attribute is in - the <a href="#attr-input-autocomplete-default-state" title="attr-input-autocomplete-default-state">default</a> state, - and the element has no <a href="#form-owner">form owner</a>, and when an - <code><a href="#the-input-element">input</a></code> element's <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> attribute is in - the <a href="#attr-input-autocomplete-default-state" title="attr-input-autocomplete-default-state">default</a> state, - and the element's <a href="#form-owner">form owner</a>'s <code title="attr-form-autocomplete"><a href="#attr-form-autocomplete">autocomplete</a></code> attribute is in - the <a href="#attr-form-autocomplete-on-state" title="attr-form-autocomplete-on-state">on</a> state, - the <code><a href="#the-input-element">input</a></code> element's <a href="#resulting-autocompletion-state">resulting autocompletion - state</a> is <i title="">on</i>. Otherwise, the + <p>When an <code><a href="#the-input-element">input</a></code> element is in one of the following + conditions, the <code><a href="#the-input-element">input</a></code> element's <a href="#resulting-autocompletion-state">resulting + autocompletion state</a> is <i title="">on</i>; otherwise, the <code><a href="#the-input-element">input</a></code> element's <a href="#resulting-autocompletion-state">resulting autocompletion - state</a> is <i title="">off</i>.</p> + state</a> is <i title="">off</i>:</p> - <p>When an <code><a href="#the-input-element">input</a></code> element's <a href="#resulting-autocompletion-state">resulting + <ul class="brief"><li>Its <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> + attribute is in the <a href="#attr-input-autocomplete-on-state" title="attr-input-autocomplete-on-state">on</a> state.</li> + + <li>Its <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> + attribute is in the <a href="#attr-input-autocomplete-default-state" title="attr-input-autocomplete-default-state">default</a> state, + and the element has no <a href="#form-owner">form owner</a>.</li> + + <li>Its <code title="attr-input-autocomplete"><a href="#attr-input-autocomplete">autocomplete</a></code> + attribute is in the <a href="#attr-input-autocomplete-default-state" title="attr-input-autocomplete-default-state">default</a> state, + and the element's <a href="#form-owner">form owner</a>'s <code title="attr-form-autocomplete"><a href="#attr-form-autocomplete">autocomplete</a></code> attribute is in + the <a href="#attr-form-autocomplete-on-state" title="attr-form-autocomplete-on-state">on</a> + state.</li> + + </ul><p>When an <code><a href="#the-input-element">input</a></code> element's <a href="#resulting-autocompletion-state">resulting autocompletion state</a> is <i title="">on</i>, the user agent may store the value entered by the user so that if the user returns to the page, the UA can prefill the form. Otherwise, the user agent
Received on Monday, 14 September 2009 08:35:22 UTC