Skip to content
Permalink
Browse files
[giow] (1) Add some autofill keywords for usernames and passwords.
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25236
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8573 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 14, 2014
1 parent a881ae1 commit f7d3a17ba30074e943d0c85c63d65e7c5d97218f
Show file tree
Hide file tree
Showing 3 changed files with 116 additions and 2 deletions.
@@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 11 April 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 14 April 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -48020,6 +48020,9 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
<li>"<code title=attr-fe-autocomplete-family-name><a href=#attr-fe-autocomplete-family-name>family-name</a></code>"
<li>"<code title=attr-fe-autocomplete-honorific-suffix><a href=#attr-fe-autocomplete-honorific-suffix>honorific-suffix</a></code>"
<li>"<code title=attr-fe-autocomplete-nickname><a href=#attr-fe-autocomplete-nickname>nickname</a></code>"
<li>"<code title=attr-fe-autocomplete-username><a href=#attr-fe-autocomplete-username>username</a></code>"
<li>"<code title=attr-fe-autocomplete-new-password><a href=#attr-fe-autocomplete-new-password>new-password</a></code>"
<li>"<code title=attr-fe-autocomplete-current-password><a href=#attr-fe-autocomplete-current-password>current-password</a></code>"
<li>"<code title=attr-fe-autocomplete-organization-title><a href=#attr-fe-autocomplete-organization-title>organization-title</a></code>"
<li>"<code title=attr-fe-autocomplete-organization><a href=#attr-fe-autocomplete-organization>organization</a></code>"
<li>"<code title=attr-fe-autocomplete-street-address><a href=#attr-fe-autocomplete-street-address>street-address</a></code>"
@@ -48185,6 +48188,21 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
<td>Free-form text, no newlines
<td>Professor
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-username title=attr-fe-autocomplete-username><code>username</code></dfn>"
<td>A username
<td>Free-form text, no newlines
<td>timbl
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-new-password title=attr-fe-autocomplete-new-password><code>new-password</code></dfn>"
<td>A new password (e.g. when creating an account or changing a password)
<td>Free-form text, no newlines
<td>GUMFXbadyrS3
<td><a href=#control-group-password title="Control Group Password">Password</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-current-password title=attr-fe-autocomplete-current-password><code>current-password</code></dfn>"
<td>The current password for the account identified by the <code title=attr-fe-autocomplete-username><a href=#attr-fe-autocomplete-username>username</a></code> field (e.g. when logging in)
<td>Free-form text, no newlines
<td>qwerty <!-- http://splashdata.com/press/worstpasswords2013.htm -->
<td><a href=#control-group-password title="Control Group Password">Password</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-organization title=attr-fe-autocomplete-organization><code>organization</code></dfn>"
<td>Company name corresponding to the person, address, or contact information in the other fields associated with this field
<td>Free-form text, no newlines
@@ -48395,6 +48413,14 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute><span class=secno>4
<dd><code><a href=#the-textarea-element>textarea</a></code> elements
<dd><code><a href=#the-select-element>select</a></code> elements

<dt><dfn id=control-group-password title="Control Group Password">Password</dfn>

<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a> state
<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a> state
<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a> state
<dd><code><a href=#the-textarea-element>textarea</a></code> elements
<dd><code><a href=#the-select-element>select</a></code> elements

<dt><dfn id=control-group-url title="Control Group URL">URL</dfn>

<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a> state
@@ -48534,6 +48560,15 @@ <h6 id=processing-model-2><span class=secno>4.10.19.8.2 </span>Processing model<
<tr><td>"<code title=attr-fe-autocomplete-organization-title><a href=#attr-fe-autocomplete-organization-title>organization-title</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-username><a href=#attr-fe-autocomplete-username>username</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-new-password><a href=#attr-fe-autocomplete-new-password>new-password</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-current-password><a href=#attr-fe-autocomplete-current-password>current-password</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-organization><a href=#attr-fe-autocomplete-organization>organization</a></code>"
<td>3
<td>Normal
@@ -48844,6 +48879,7 @@ <h6 id=processing-model-2><span class=secno>4.10.19.8.2 </span>Processing model<

</div>

<!--CLEANUP-->
<p>When the <a href=#autofill-field-name>autofill field name</a> is "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>",
the user agent should attempt to use heuristics to determine the most appropriate values to offer
the user, e.g. based on the element's <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> value, the position
38 index
@@ -298,7 +298,7 @@

<header class=head id=head><p><a href=http://www.whatwg.org/ class=logo><img width=101 src=/images/logo alt=WHATWG height=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 11 April 2014</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 14 April 2014</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
@@ -48020,6 +48020,9 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
<li>"<code title=attr-fe-autocomplete-family-name><a href=#attr-fe-autocomplete-family-name>family-name</a></code>"
<li>"<code title=attr-fe-autocomplete-honorific-suffix><a href=#attr-fe-autocomplete-honorific-suffix>honorific-suffix</a></code>"
<li>"<code title=attr-fe-autocomplete-nickname><a href=#attr-fe-autocomplete-nickname>nickname</a></code>"
<li>"<code title=attr-fe-autocomplete-username><a href=#attr-fe-autocomplete-username>username</a></code>"
<li>"<code title=attr-fe-autocomplete-new-password><a href=#attr-fe-autocomplete-new-password>new-password</a></code>"
<li>"<code title=attr-fe-autocomplete-current-password><a href=#attr-fe-autocomplete-current-password>current-password</a></code>"
<li>"<code title=attr-fe-autocomplete-organization-title><a href=#attr-fe-autocomplete-organization-title>organization-title</a></code>"
<li>"<code title=attr-fe-autocomplete-organization><a href=#attr-fe-autocomplete-organization>organization</a></code>"
<li>"<code title=attr-fe-autocomplete-street-address><a href=#attr-fe-autocomplete-street-address>street-address</a></code>"
@@ -48185,6 +48188,21 @@ out of 233&thinsp;257&thinsp;824 bytes available&lt;/meter&gt;&lt;/p&gt;</pre>
<td>Free-form text, no newlines
<td>Professor
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-username title=attr-fe-autocomplete-username><code>username</code></dfn>"
<td>A username
<td>Free-form text, no newlines
<td>timbl
<td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-new-password title=attr-fe-autocomplete-new-password><code>new-password</code></dfn>"
<td>A new password (e.g. when creating an account or changing a password)
<td>Free-form text, no newlines
<td>GUMFXbadyrS3
<td><a href=#control-group-password title="Control Group Password">Password</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-current-password title=attr-fe-autocomplete-current-password><code>current-password</code></dfn>"
<td>The current password for the account identified by the <code title=attr-fe-autocomplete-username><a href=#attr-fe-autocomplete-username>username</a></code> field (e.g. when logging in)
<td>Free-form text, no newlines
<td>qwerty <!-- http://splashdata.com/press/worstpasswords2013.htm -->
<td><a href=#control-group-password title="Control Group Password">Password</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-organization title=attr-fe-autocomplete-organization><code>organization</code></dfn>"
<td>Company name corresponding to the person, address, or contact information in the other fields associated with this field
<td>Free-form text, no newlines
@@ -48395,6 +48413,14 @@ MIT Room 32-G524
<dd><code><a href=#the-textarea-element>textarea</a></code> elements
<dd><code><a href=#the-select-element>select</a></code> elements

<dt><dfn id=control-group-password title="Control Group Password">Password</dfn>

<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a> state
<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-search>Search</a> state
<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#password-state-(type=password)" title=attr-input-type-password>Password</a> state
<dd><code><a href=#the-textarea-element>textarea</a></code> elements
<dd><code><a href=#the-select-element>select</a></code> elements

<dt><dfn id=control-group-url title="Control Group URL">URL</dfn>

<dd><code><a href=#the-input-element>input</a></code> elements whose <code title=attr-input-type><a href=#attr-input-type>type</a></code> attribute is in the <a href="#text-(type=text)-state-and-search-state-(type=search)" title=attr-input-type-text>Text</a> state
@@ -48534,6 +48560,15 @@ MIT Room 32-G524
<tr><td>"<code title=attr-fe-autocomplete-organization-title><a href=#attr-fe-autocomplete-organization-title>organization-title</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-username><a href=#attr-fe-autocomplete-username>username</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-new-password><a href=#attr-fe-autocomplete-new-password>new-password</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-current-password><a href=#attr-fe-autocomplete-current-password>current-password</a></code>"
<td>3
<td>Normal
<tr><td>"<code title=attr-fe-autocomplete-organization><a href=#attr-fe-autocomplete-organization>organization</a></code>"
<td>3
<td>Normal
@@ -48844,6 +48879,7 @@ MIT Room 32-G524

</div>

<!--CLEANUP-->
<p>When the <a href=#autofill-field-name>autofill field name</a> is "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>",
the user agent should attempt to use heuristics to determine the most appropriate values to offer
the user, e.g. based on the element's <code title=attr-fe-name><a href=#attr-fe-name>name</a></code> value, the position
42 source
@@ -52771,6 +52771,9 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
<li>"<code data-x="attr-fe-autocomplete-family-name">family-name</code>"
<li>"<code data-x="attr-fe-autocomplete-honorific-suffix">honorific-suffix</code>"
<li>"<code data-x="attr-fe-autocomplete-nickname">nickname</code>"
<li>"<code data-x="attr-fe-autocomplete-username">username</code>"
<li>"<code data-x="attr-fe-autocomplete-new-password">new-password</code>"
<li>"<code data-x="attr-fe-autocomplete-current-password">current-password</code>"
<li>"<code data-x="attr-fe-autocomplete-organization-title">organization-title</code>"
<li>"<code data-x="attr-fe-autocomplete-organization">organization</code>"
<li>"<code data-x="attr-fe-autocomplete-street-address">street-address</code>"
@@ -52965,6 +52968,24 @@ out of 233&#x2009;257&#x2009;824 bytes available&lt;/meter>&lt;/p></pre>
<td>Free-form text, no newlines
<td>Professor
<td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-username"><code>username</code></dfn>"
<td>A username
<td>Free-form text, no newlines
<td>timbl
<td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-new-password"><code>new-password</code></dfn>"
<td>A new password (e.g. when creating an account or changing a password)
<td>Free-form text, no newlines
<td>GUMFXbadyrS3
<td><span data-x="Control Group Password">Password</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-current-password"><code>current-password</code></dfn>"
<td>The current password for the account identified by the <code data-x="attr-fe-autocomplete-username">username</code> field (e.g. when logging in)
<td>Free-form text, no newlines
<td>qwerty <!-- http://splashdata.com/press/worstpasswords2013.htm -->
<td><span data-x="Control Group Password">Password</span>
<tbody>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-organization"><code>organization</code></dfn>"
@@ -53221,6 +53242,14 @@ MIT Room 32-G524
<dd><code>textarea</code> elements
<dd><code>select</code> elements

<dt><dfn data-x="Control Group Password">Password</dfn>

<dd><code>input</code> elements whose <code data-x="attr-input-type">type</code> attribute is in the <span data-x="attr-input-type-text">Text</span> state
<dd><code>input</code> elements whose <code data-x="attr-input-type">type</code> attribute is in the <span data-x="attr-input-type-search">Search</span> state
<dd><code>input</code> elements whose <code data-x="attr-input-type">type</code> attribute is in the <span data-x="attr-input-type-password">Password</span> state
<dd><code>textarea</code> elements
<dd><code>select</code> elements

<dt><dfn data-x="Control Group URL">URL</dfn>

<dd><code>input</code> elements whose <code data-x="attr-input-type">type</code> attribute is in the <span data-x="attr-input-type-text">Text</span> state
@@ -53389,6 +53418,18 @@ MIT Room 32-G524
<td>"<code data-x="attr-fe-autocomplete-organization-title">organization-title</code>"
<td>3
<td>Normal
<tr>
<td>"<code data-x="attr-fe-autocomplete-username">username</code>"
<td>3
<td>Normal
<tr>
<td>"<code data-x="attr-fe-autocomplete-new-password">new-password</code>"
<td>3
<td>Normal
<tr>
<td>"<code data-x="attr-fe-autocomplete-current-password">current-password</code>"
<td>3
<td>Normal
<tr>
<td>"<code data-x="attr-fe-autocomplete-organization">organization</code>"
<td>3
@@ -53782,6 +53823,7 @@ MIT Room 32-G524

</div>

<!--CLEANUP-->
<p>When the <span>autofill field name</span> is "<code data-x="attr-fe-autocomplete-on">on</code>",
the user agent should attempt to use heuristics to determine the most appropriate values to offer
the user, e.g. based on the element's <code data-x="attr-fe-name">name</code> value, the position

0 comments on commit f7d3a17

Please sign in to comment.