[html5] r8384 - [c] (2) Define some authoring conformance criteria that e.g. prevent autocomplet [...]
whatwg at whatwg.org
whatwg at whatwg.org
Tue Jan 7 16:24:37 PST 2014
Author: ianh
Date: 2014-01-07 16:24:35 -0800 (Tue, 07 Jan 2014)
New Revision: 8384
Modified:
complete.html
index
source
Log:
[c] (2) Define some authoring conformance criteria that e.g. prevent autocomplete='shipping tel' being set on an <input type=date>
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23782
Affected topics: HTML
Modified: complete.html
===================================================================
--- complete.html 2014-01-07 23:36:11 UTC (rev 8383)
+++ complete.html 2014-01-08 00:24:35 UTC (rev 8384)
@@ -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 — Last Updated 7 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 8 January 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>
@@ -47267,7 +47267,8 @@
<ul><li>
<p>A token that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of the following
- <a href=#autofill-field>autofill field</a> strings:</p>
+ <a href=#autofill-field>autofill field</a> names, excluding those that are <a href=#inappropriate-for-the-control>inappropriate for the
+ control</a>:</p>
<ul class=brief><li>"<code title=attr-fe-autocomplete-name><a href=#attr-fe-autocomplete-name>name</a></code>"
<li>"<code title=attr-fe-autocomplete-honorific-prefix><a href=#attr-fe-autocomplete-honorific-prefix>honorific-prefix</a></code>"
@@ -47338,7 +47339,8 @@
<li>
<p>A token that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of the following
- <a href=#autofill-field>autofill field</a> strings:</p>
+ <a href=#autofill-field>autofill field</a> names, excluding those that are <a href=#inappropriate-for-the-control>inappropriate for the
+ control</a>:</p>
<ul class=brief><li>"<code title=attr-fe-autocomplete-tel><a href=#attr-fe-autocomplete-tel>tel</a></code>"
<li>"<code title=attr-fe-autocomplete-tel-country-code><a href=#attr-fe-autocomplete-tel-country-code>tel-country-code</a></code>"
@@ -47388,202 +47390,328 @@
first and the given name second, and many others simply have one name (a <i>mononym</i>). Having a
single field is therefore more flexible.</p>
+ <p>Some fields are only appropriate for certain form controls. An <a href=#autofill-field>autofill field</a> name
+ is <dfn id=inappropriate-for-the-control title="inappropriate for the control">inappropriate for a control</dfn> if the control
+ does not belong to the group listed for that <a href=#autofill-field>autofill field</a> in the fifth column of
+ the first row describing that <a href=#autofill-field>autofill field</a> in the table below. What controls fall
+ into each group is described below the table.</p>
+
<table><thead><tr><th colspan=4> Field name
<th> Meaning
<th> Canonical Format
<th> Canonical Format Example
+ <th> Control group
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-name title=attr-fe-autocomplete-name><code>name</code></dfn>"
<td>Full name
<td>Free-form text, no newlines
<td>Sir Timothy John Berners-Lee, OM, KBE, FRS, FREng, FRSA
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=5 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-honorific-prefix title=attr-fe-autocomplete-honorific-prefix><code>honorific-prefix</code></dfn>"
<td>Prefix or title (e.g. "Mr.", "Ms.", "Dr.", "<span lang=fr title="">M<sup>lle</sup></span>")
<td>Free-form text, no newlines
<td>Sir
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-given-name title=attr-fe-autocomplete-given-name><code>given-name</code></dfn>"
<td>Given name (in some Western cultures, also known as the <i>first name</i>)
<td>Free-form text, no newlines
<td>Timothy
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-additional-name title=attr-fe-autocomplete-additional-name><code>additional-name</code></dfn>"
<td>Additional names (in some Western cultures, also known as <i>middle names</i>, forenames other than the first name)
<td>Free-form text, no newlines
<td>John
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-family-name title=attr-fe-autocomplete-family-name><code>family-name</code></dfn>"
<td>Family name (in some Western cultures, also known as the <i>last name</i> or <i>surname</i>)
<td>Free-form text, no newlines
<td>Berners-Lee
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-honorific-suffix title=attr-fe-autocomplete-honorific-suffix><code>honorific-suffix</code></dfn>"
<td>Suffix (e.g. "Jr.", "B.Sc.", "MBASW", "II")
<td>Free-form text, no newlines
<td>OM, KBE, FRS, FREng, FRSA
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-nickname title=attr-fe-autocomplete-nickname><code>nickname</code></dfn>"
<td>Nickname, screen name, handle: a typically short name used instead of the full name
<td>Free-form text, no newlines
<td>Tim
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-organization-title title=attr-fe-autocomplete-organization-title><code>organization-title</code></dfn>"
<td>Job title (e.g. "Software Engineer", "Senior Vice President", "Deputy Managing Director")
<td>Free-form text, no newlines
<td>Professor
+ <td><a href=#control-group-text title="Control Group Text">Text</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
<td>World Wide Web Consortium
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-street-address title=attr-fe-autocomplete-street-address><code>street-address</code></dfn>"
<td>Street address (multiple lines, newlines preserved)
<td>Free-form text
<td>32 Vassar Street<br>
MIT Room 32-G524
+ <td><a href=#control-group-multiline title="Control Group Multiline">Multiline</a>
<tr><td rowspan=3 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-address-line1 title=attr-fe-autocomplete-address-line1><code>address-line1</code></dfn>"
<td rowspan=3>Street address (one line per field)
<td>Free-form text, no newlines
<td>32 Vassar Street
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-address-line2 title=attr-fe-autocomplete-address-line2><code>address-line2</code></dfn>"
<td>Free-form text, no newlines
<td>MIT Room 32-G524
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-address-line3 title=attr-fe-autocomplete-address-line3><code>address-line3</code></dfn>"
<td>Free-form text, no newlines
<td>
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-locality title=attr-fe-autocomplete-locality><code>locality</code></dfn>"
<td>City, town, village, post town, or other locality within which the relevant street address is found
<td>Free-form text, no newlines
<td>Cambridge
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-region title=attr-fe-autocomplete-region><code>region</code></dfn>"
<td>Province such as a state, county, or canton within which the locality is found
<td>Free-form text, no newlines
<td>MA
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-country title=attr-fe-autocomplete-country><code>country</code></dfn>"
<td>Country code
<td>Valid <a href=http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm>ISO 3166-1-alpha-2 country code</a> <a href=#refsISO3166>[ISO3166]</a>
<td>US
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-country-name title=attr-fe-autocomplete-country-name><code>country-name</code></dfn>"
<td>Country name
<td>Free-form text, no newlines; <a href=#autofill-country>derived from <code title=attr-fe-autocomplete-country>country</code> in some cases</a>
<td>US
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-postal-code title=attr-fe-autocomplete-postal-code><code>postal-code</code></dfn>"
<td>Postal code, post code, ZIP code, CEDEX code (if CEDEX, append "CEDEX", and the <i lang=fr>arrondissement</i> if relevant, to the <code title=attr-fe-autocomplete-locality><a href=#attr-fe-autocomplete-locality>locality</a></code> field)
<td>Free-form text, no newlines
<td>02139
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-name title=attr-fe-autocomplete-cc-name><code>cc-name</code></dfn>"
<td>Full name as given on the payment instrument
<td>Free-form text, no newlines
<td>Tim Berners-Lee
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=3 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-cc-given-name title=attr-fe-autocomplete-cc-given-name><code>cc-given-name</code></dfn>"
<td>Given name as given on the payment instrument (in some Western cultures, also known as the <i>first name</i>)
<td>Free-form text, no newlines
<td>Tim
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-cc-additional-name title=attr-fe-autocomplete-cc-additional-name><code>cc-additional-name</code></dfn>"
<td>Additional names given on the payment instrument (in some Western cultures, also known as <i>middle names</i>, forenames other than the first name)
<td>Free-form text, no newlines
<td>
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-cc-family-name title=attr-fe-autocomplete-cc-family-name><code>cc-family-name</code></dfn>"
<td>Family name given on the payment instrument (in some Western cultures, also known as the <i>last name</i> or <i>surname</i>)
<td>Free-form text, no newlines
<td>Berners-Lee
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-number title=attr-fe-autocomplete-cc-number><code>cc-number</code></dfn>"
<td>Code identifying the payment instrument (e.g. the credit card number, bank account number)
<td><a href=#ascii-digits>ASCII digits</a>
<td>4114360123456785 <!-- http://www.auricsystems.com/support-center/sample-credit-card-numbers -->
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-exp title=attr-fe-autocomplete-cc-exp><code>cc-exp</code></dfn>"
<td>Expiration date of the payment instrument
<td><a href=#valid-month-string>Valid month string</a>
<td>2014-12
+ <td><a href=#control-group-month title="Control Group Month">Month</a>
<tr><td rowspan=2 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-cc-exp-month title=attr-fe-autocomplete-cc-exp-month><code>cc-exp-month</code></dfn>"
<td>Month component of the expiration date of the payment instrument
<td><a href=#valid-integer>Valid integer</a> in the range 1..12
<td>12
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-cc-exp-year title=attr-fe-autocomplete-cc-exp-year><code>cc-exp-year</code></dfn>"
<td>Year component of the expiration date of the payment instrument
<td><a href=#valid-integer>Valid integer</a> greater than zero
<td>2014
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-csc title=attr-fe-autocomplete-cc-csc><code>cc-csc</code></dfn>"
<td>Security code for the payment instrument (also known as the card security code (CSC), card validation code (CVC), card verification value (CVV), signature panel code (SPC), credit card ID (CCID), etc)
<td><a href=#ascii-digits>ASCII digits</a>
<td>419
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-type title=attr-fe-autocomplete-cc-type><code>cc-type</code></dfn>"
<td>Type of payment instrument
<td>Free-form text, no newlines
<td>Visa
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-language title=attr-fe-autocomplete-language><code>language</code></dfn>"
<td>Preferred language
<td>Valid BCP 47 language tag <a href=#refsBCP47>[BCP47]</a>
<td>en
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-bday title=attr-fe-autocomplete-bday><code>bday</code></dfn>"
<td>Birthday
<td><a href=#valid-date-string>Valid date string</a>
<td>1955-06-08
+ <td><a href=#control-group-date title="Control Group Date">Date</a>
<tr><td rowspan=3 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-bday-day title=attr-fe-autocomplete-bday-day><code>bday-day</code></dfn>"
<td>Day component of birthday
<td><a href=#valid-integer>Valid integer</a> in the range 1..31
<td>8
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-bday-month title=attr-fe-autocomplete-bday-month><code>bday-month</code></dfn>"
<td>Month component of birthday
<td><a href=#valid-integer>Valid integer</a> in the range 1..12
<td>6
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-bday-year title=attr-fe-autocomplete-bday-year><code>bday-year</code></dfn>"
<td>Year component of birthday
<td><a href=#valid-integer>Valid integer</a> greater than zero
<td>1955
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-sex title=attr-fe-autocomplete-sex><code>sex</code></dfn>"
<td>Gender identity (e.g. Female, Fa'afafine)
<td>Free-form text, no newlines
<td>Male
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-url title=attr-fe-autocomplete-url><code>url</code></dfn>"
<td>Home page or other Web page corresponding to the company, person, address, or contact information in the other fields associated with this field
<td><a href=#valid-url>Valid URL</a>
<td>http://www.w3.org/People/Berners-Lee/
+ <td><a href=#control-group-url title="Control Group URL">URL</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-photo title=attr-fe-autocomplete-photo><code>photo</code></dfn>"
<td>Photograph, icon, or other image corresponding to the company, person, address, or contact information in the other fields associated with this field
- <td>File or <a href=#valid-url>Valid URL</a>
+ <td><!--File or--> <a href=#valid-url>Valid URL</a>
<td>http://www.w3.org/Press/Stock/Berners-Lee/2001-europaeum-eighth.jpg
+ <td><!--<span title="Control Group File">File</span>--> <a href=#control-group-url title="Control Group URL">URL</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-tel title=attr-fe-autocomplete-tel><code>tel</code></dfn>"
<td>Full telephone number, including country code
<td><a href=#ascii-digits>ASCII digits</a> and U+0020 SPACE characters, prefixed by a U+002B PLUS SIGN character (+)
<td>+1 617 253 5702
+ <td><a href=#control-group-tel title="Control Group Tel">Tel</a>
<tr><td rowspan=6 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-tel-country-code title=attr-fe-autocomplete-tel-country-code><code>tel-country-code</code></dfn>"
<td>Country code component of the telephone number
- <td><a href=#ascii-digits>ASCII digits</a> prefixed by a U+002B PLUS SIGN character (+)
+ <td><a href=#ascii-digits>ASCII digits</a> prefixed by a U+002B PLUS SIGN character (+)
<td>+1
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-tel-national title=attr-fe-autocomplete-tel-national><code>tel-national</code></dfn>"
<td>Telephone number without the county code component, with a country-internal prefix applied if applicable
<td><a href=#ascii-digits>ASCII digits</a> and U+0020 SPACE characters
<td>617 253 5702
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=4 class=non-rectangular-cell-indentation>
<td colspan=2>"<dfn id=attr-fe-autocomplete-tel-area-code title=attr-fe-autocomplete-tel-area-code><code>tel-area-code</code></dfn>"
<td>Area code component of the telephone number, with a country-internal prefix applied if applicable
<td><a href=#ascii-digits>ASCII digits</a>
<td>617
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=2>"<dfn id=attr-fe-autocomplete-tel-local title=attr-fe-autocomplete-tel-local><code>tel-local</code></dfn>"
<td>Telephone number without the country code and area code components
<td><a href=#ascii-digits>ASCII digits</a>
<td>2535702
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=2 class=non-rectangular-cell-indentation>
<td>"<dfn id=attr-fe-autocomplete-tel-local-prefix title=attr-fe-autocomplete-tel-local-prefix><code>tel-local-prefix</code></dfn>"
<td>First part of the component of the telephone number that follows the area code, when that component is split into two components
<td><a href=#ascii-digits>ASCII digits</a>
<td>253
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td>"<dfn id=attr-fe-autocomplete-tel-local-suffix title=attr-fe-autocomplete-tel-local-suffix><code>tel-local-suffix</code></dfn>"
<td>Second part of the component of the telephone number that follows the area code, when that component is split into two components
<td><a href=#ascii-digits>ASCII digits</a>
<td>5702
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-tel-extension title=attr-fe-autocomplete-tel-extension><code>tel-extension</code></dfn>"
<td>Telephone number internal extension code
<td><a href=#ascii-digits>ASCII digits</a>
<td>1000
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-email title=attr-fe-autocomplete-email><code>email</code></dfn>"
<td>E-mail address
<td><a href=#valid-e-mail-address>Valid e-mail address</a>
<td>timbl at w3.org
+ <td><a href=#control-group-e-mail title="Control Group E-mail">E-mail</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-impp title=attr-fe-autocomplete-impp><code>impp</code></dfn>"
<td>URL representing an instant messaging protocol endpoint (for example, "<code title="">aim:goim?screenname=example</code>" or "<code title="">xmpp:fred at example.net</code>")
<td><a href=#valid-url>Valid URL</a>
<td>irc://example.org/timbl,isuser
- </table><p>If the <code title=attr-fe-autocomplete><a href=#attr-fe-autocomplete>autocomplete</a></code> attribute is omitted, the default
+ <td><a href=#control-group-url title="Control Group URL">URL</a>
+ </table><p>The groups correspond to controls as follows:</p>
+
+ <dl><dt><dfn id=control-group-text title="Control Group Text">Text</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-textarea-element>textarea</a></code> elements
+ <dd><code><a href=#the-select-element>select</a></code> elements
+
+ <dt><dfn id=control-group-multiline title="Control Group Multiline">Multiline</dfn>
+
+ <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
+ <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="#url-state-(type=url)" title=attr-input-type-url>URL</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-e-mail title="Control Group E-mail">E-mail</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="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</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-tel title="Control Group Tel">Tel</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="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</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-numeric title="Control Group Numeric">Numeric</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="#number-state-(type=number)" title=attr-input-type-number>Number</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-month title="Control Group Month">Month</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="#month-state-(type=month)" title=attr-input-type-month>Month</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-date title="Control Group Date">Date</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="#date-state-(type=date)" title=attr-input-type-date>Date</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 title="Control Group File">File</dfn>
+
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-text">Text</span> state
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-search">Search</span> state
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-url">URL</span> state
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-file">File</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+-->
+
+ </dl><hr><p>If the <code title=attr-fe-autocomplete><a href=#attr-fe-autocomplete>autocomplete</a></code> attribute is omitted, the default
value corresponding to the state of 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 used instead (either "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>" or "<code title=attr-fe-autocomplete-off><a href=#attr-fe-autocomplete-off>off</a></code>"). If there is no <a href=#form-owner>form owner</a>, then the
value "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>" is used.</p>
Modified: index
===================================================================
--- index 2014-01-07 23:36:11 UTC (rev 8383)
+++ index 2014-01-08 00:24:35 UTC (rev 8384)
@@ -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 — Last Updated 7 January 2014</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 8 January 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>
@@ -47267,7 +47267,8 @@
<ul><li>
<p>A token that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of the following
- <a href=#autofill-field>autofill field</a> strings:</p>
+ <a href=#autofill-field>autofill field</a> names, excluding those that are <a href=#inappropriate-for-the-control>inappropriate for the
+ control</a>:</p>
<ul class=brief><li>"<code title=attr-fe-autocomplete-name><a href=#attr-fe-autocomplete-name>name</a></code>"
<li>"<code title=attr-fe-autocomplete-honorific-prefix><a href=#attr-fe-autocomplete-honorific-prefix>honorific-prefix</a></code>"
@@ -47338,7 +47339,8 @@
<li>
<p>A token that is an <a href=#ascii-case-insensitive>ASCII case-insensitive</a> match for one of the following
- <a href=#autofill-field>autofill field</a> strings:</p>
+ <a href=#autofill-field>autofill field</a> names, excluding those that are <a href=#inappropriate-for-the-control>inappropriate for the
+ control</a>:</p>
<ul class=brief><li>"<code title=attr-fe-autocomplete-tel><a href=#attr-fe-autocomplete-tel>tel</a></code>"
<li>"<code title=attr-fe-autocomplete-tel-country-code><a href=#attr-fe-autocomplete-tel-country-code>tel-country-code</a></code>"
@@ -47388,202 +47390,328 @@
first and the given name second, and many others simply have one name (a <i>mononym</i>). Having a
single field is therefore more flexible.</p>
+ <p>Some fields are only appropriate for certain form controls. An <a href=#autofill-field>autofill field</a> name
+ is <dfn id=inappropriate-for-the-control title="inappropriate for the control">inappropriate for a control</dfn> if the control
+ does not belong to the group listed for that <a href=#autofill-field>autofill field</a> in the fifth column of
+ the first row describing that <a href=#autofill-field>autofill field</a> in the table below. What controls fall
+ into each group is described below the table.</p>
+
<table><thead><tr><th colspan=4> Field name
<th> Meaning
<th> Canonical Format
<th> Canonical Format Example
+ <th> Control group
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-name title=attr-fe-autocomplete-name><code>name</code></dfn>"
<td>Full name
<td>Free-form text, no newlines
<td>Sir Timothy John Berners-Lee, OM, KBE, FRS, FREng, FRSA
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=5 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-honorific-prefix title=attr-fe-autocomplete-honorific-prefix><code>honorific-prefix</code></dfn>"
<td>Prefix or title (e.g. "Mr.", "Ms.", "Dr.", "<span lang=fr title="">M<sup>lle</sup></span>")
<td>Free-form text, no newlines
<td>Sir
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-given-name title=attr-fe-autocomplete-given-name><code>given-name</code></dfn>"
<td>Given name (in some Western cultures, also known as the <i>first name</i>)
<td>Free-form text, no newlines
<td>Timothy
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-additional-name title=attr-fe-autocomplete-additional-name><code>additional-name</code></dfn>"
<td>Additional names (in some Western cultures, also known as <i>middle names</i>, forenames other than the first name)
<td>Free-form text, no newlines
<td>John
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-family-name title=attr-fe-autocomplete-family-name><code>family-name</code></dfn>"
<td>Family name (in some Western cultures, also known as the <i>last name</i> or <i>surname</i>)
<td>Free-form text, no newlines
<td>Berners-Lee
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-honorific-suffix title=attr-fe-autocomplete-honorific-suffix><code>honorific-suffix</code></dfn>"
<td>Suffix (e.g. "Jr.", "B.Sc.", "MBASW", "II")
<td>Free-form text, no newlines
<td>OM, KBE, FRS, FREng, FRSA
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-nickname title=attr-fe-autocomplete-nickname><code>nickname</code></dfn>"
<td>Nickname, screen name, handle: a typically short name used instead of the full name
<td>Free-form text, no newlines
<td>Tim
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-organization-title title=attr-fe-autocomplete-organization-title><code>organization-title</code></dfn>"
<td>Job title (e.g. "Software Engineer", "Senior Vice President", "Deputy Managing Director")
<td>Free-form text, no newlines
<td>Professor
+ <td><a href=#control-group-text title="Control Group Text">Text</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
<td>World Wide Web Consortium
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-street-address title=attr-fe-autocomplete-street-address><code>street-address</code></dfn>"
<td>Street address (multiple lines, newlines preserved)
<td>Free-form text
<td>32 Vassar Street<br>
MIT Room 32-G524
+ <td><a href=#control-group-multiline title="Control Group Multiline">Multiline</a>
<tr><td rowspan=3 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-address-line1 title=attr-fe-autocomplete-address-line1><code>address-line1</code></dfn>"
<td rowspan=3>Street address (one line per field)
<td>Free-form text, no newlines
<td>32 Vassar Street
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-address-line2 title=attr-fe-autocomplete-address-line2><code>address-line2</code></dfn>"
<td>Free-form text, no newlines
<td>MIT Room 32-G524
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-address-line3 title=attr-fe-autocomplete-address-line3><code>address-line3</code></dfn>"
<td>Free-form text, no newlines
<td>
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-locality title=attr-fe-autocomplete-locality><code>locality</code></dfn>"
<td>City, town, village, post town, or other locality within which the relevant street address is found
<td>Free-form text, no newlines
<td>Cambridge
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-region title=attr-fe-autocomplete-region><code>region</code></dfn>"
<td>Province such as a state, county, or canton within which the locality is found
<td>Free-form text, no newlines
<td>MA
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-country title=attr-fe-autocomplete-country><code>country</code></dfn>"
<td>Country code
<td>Valid <a href=http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm>ISO 3166-1-alpha-2 country code</a> <a href=#refsISO3166>[ISO3166]</a>
<td>US
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-country-name title=attr-fe-autocomplete-country-name><code>country-name</code></dfn>"
<td>Country name
<td>Free-form text, no newlines; <a href=#autofill-country>derived from <code title=attr-fe-autocomplete-country>country</code> in some cases</a>
<td>US
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-postal-code title=attr-fe-autocomplete-postal-code><code>postal-code</code></dfn>"
<td>Postal code, post code, ZIP code, CEDEX code (if CEDEX, append "CEDEX", and the <i lang=fr>arrondissement</i> if relevant, to the <code title=attr-fe-autocomplete-locality><a href=#attr-fe-autocomplete-locality>locality</a></code> field)
<td>Free-form text, no newlines
<td>02139
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-name title=attr-fe-autocomplete-cc-name><code>cc-name</code></dfn>"
<td>Full name as given on the payment instrument
<td>Free-form text, no newlines
<td>Tim Berners-Lee
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=3 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-cc-given-name title=attr-fe-autocomplete-cc-given-name><code>cc-given-name</code></dfn>"
<td>Given name as given on the payment instrument (in some Western cultures, also known as the <i>first name</i>)
<td>Free-form text, no newlines
<td>Tim
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-cc-additional-name title=attr-fe-autocomplete-cc-additional-name><code>cc-additional-name</code></dfn>"
<td>Additional names given on the payment instrument (in some Western cultures, also known as <i>middle names</i>, forenames other than the first name)
<td>Free-form text, no newlines
<td>
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-cc-family-name title=attr-fe-autocomplete-cc-family-name><code>cc-family-name</code></dfn>"
<td>Family name given on the payment instrument (in some Western cultures, also known as the <i>last name</i> or <i>surname</i>)
<td>Free-form text, no newlines
<td>Berners-Lee
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-number title=attr-fe-autocomplete-cc-number><code>cc-number</code></dfn>"
<td>Code identifying the payment instrument (e.g. the credit card number, bank account number)
<td><a href=#ascii-digits>ASCII digits</a>
<td>4114360123456785 <!-- http://www.auricsystems.com/support-center/sample-credit-card-numbers -->
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-exp title=attr-fe-autocomplete-cc-exp><code>cc-exp</code></dfn>"
<td>Expiration date of the payment instrument
<td><a href=#valid-month-string>Valid month string</a>
<td>2014-12
+ <td><a href=#control-group-month title="Control Group Month">Month</a>
<tr><td rowspan=2 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-cc-exp-month title=attr-fe-autocomplete-cc-exp-month><code>cc-exp-month</code></dfn>"
<td>Month component of the expiration date of the payment instrument
<td><a href=#valid-integer>Valid integer</a> in the range 1..12
<td>12
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-cc-exp-year title=attr-fe-autocomplete-cc-exp-year><code>cc-exp-year</code></dfn>"
<td>Year component of the expiration date of the payment instrument
<td><a href=#valid-integer>Valid integer</a> greater than zero
<td>2014
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-csc title=attr-fe-autocomplete-cc-csc><code>cc-csc</code></dfn>"
<td>Security code for the payment instrument (also known as the card security code (CSC), card validation code (CVC), card verification value (CVV), signature panel code (SPC), credit card ID (CCID), etc)
<td><a href=#ascii-digits>ASCII digits</a>
<td>419
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-cc-type title=attr-fe-autocomplete-cc-type><code>cc-type</code></dfn>"
<td>Type of payment instrument
<td>Free-form text, no newlines
<td>Visa
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-language title=attr-fe-autocomplete-language><code>language</code></dfn>"
<td>Preferred language
<td>Valid BCP 47 language tag <a href=#refsBCP47>[BCP47]</a>
<td>en
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-bday title=attr-fe-autocomplete-bday><code>bday</code></dfn>"
<td>Birthday
<td><a href=#valid-date-string>Valid date string</a>
<td>1955-06-08
+ <td><a href=#control-group-date title="Control Group Date">Date</a>
<tr><td rowspan=3 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-bday-day title=attr-fe-autocomplete-bday-day><code>bday-day</code></dfn>"
<td>Day component of birthday
<td><a href=#valid-integer>Valid integer</a> in the range 1..31
<td>8
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-bday-month title=attr-fe-autocomplete-bday-month><code>bday-month</code></dfn>"
<td>Month component of birthday
<td><a href=#valid-integer>Valid integer</a> in the range 1..12
<td>6
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-bday-year title=attr-fe-autocomplete-bday-year><code>bday-year</code></dfn>"
<td>Year component of birthday
<td><a href=#valid-integer>Valid integer</a> greater than zero
<td>1955
+ <td><a href=#control-group-numeric title="Control Group Numeric">Numeric</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-sex title=attr-fe-autocomplete-sex><code>sex</code></dfn>"
<td>Gender identity (e.g. Female, Fa'afafine)
<td>Free-form text, no newlines
<td>Male
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-url title=attr-fe-autocomplete-url><code>url</code></dfn>"
<td>Home page or other Web page corresponding to the company, person, address, or contact information in the other fields associated with this field
<td><a href=#valid-url>Valid URL</a>
<td>http://www.w3.org/People/Berners-Lee/
+ <td><a href=#control-group-url title="Control Group URL">URL</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-photo title=attr-fe-autocomplete-photo><code>photo</code></dfn>"
<td>Photograph, icon, or other image corresponding to the company, person, address, or contact information in the other fields associated with this field
- <td>File or <a href=#valid-url>Valid URL</a>
+ <td><!--File or--> <a href=#valid-url>Valid URL</a>
<td>http://www.w3.org/Press/Stock/Berners-Lee/2001-europaeum-eighth.jpg
+ <td><!--<span title="Control Group File">File</span>--> <a href=#control-group-url title="Control Group URL">URL</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-tel title=attr-fe-autocomplete-tel><code>tel</code></dfn>"
<td>Full telephone number, including country code
<td><a href=#ascii-digits>ASCII digits</a> and U+0020 SPACE characters, prefixed by a U+002B PLUS SIGN character (+)
<td>+1 617 253 5702
+ <td><a href=#control-group-tel title="Control Group Tel">Tel</a>
<tr><td rowspan=6 class=non-rectangular-cell-indentation>
<td colspan=3>"<dfn id=attr-fe-autocomplete-tel-country-code title=attr-fe-autocomplete-tel-country-code><code>tel-country-code</code></dfn>"
<td>Country code component of the telephone number
- <td><a href=#ascii-digits>ASCII digits</a> prefixed by a U+002B PLUS SIGN character (+)
+ <td><a href=#ascii-digits>ASCII digits</a> prefixed by a U+002B PLUS SIGN character (+)
<td>+1
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-tel-national title=attr-fe-autocomplete-tel-national><code>tel-national</code></dfn>"
<td>Telephone number without the county code component, with a country-internal prefix applied if applicable
<td><a href=#ascii-digits>ASCII digits</a> and U+0020 SPACE characters
<td>617 253 5702
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=4 class=non-rectangular-cell-indentation>
<td colspan=2>"<dfn id=attr-fe-autocomplete-tel-area-code title=attr-fe-autocomplete-tel-area-code><code>tel-area-code</code></dfn>"
<td>Area code component of the telephone number, with a country-internal prefix applied if applicable
<td><a href=#ascii-digits>ASCII digits</a>
<td>617
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=2>"<dfn id=attr-fe-autocomplete-tel-local title=attr-fe-autocomplete-tel-local><code>tel-local</code></dfn>"
<td>Telephone number without the country code and area code components
<td><a href=#ascii-digits>ASCII digits</a>
<td>2535702
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td rowspan=2 class=non-rectangular-cell-indentation>
<td>"<dfn id=attr-fe-autocomplete-tel-local-prefix title=attr-fe-autocomplete-tel-local-prefix><code>tel-local-prefix</code></dfn>"
<td>First part of the component of the telephone number that follows the area code, when that component is split into two components
<td><a href=#ascii-digits>ASCII digits</a>
<td>253
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td>"<dfn id=attr-fe-autocomplete-tel-local-suffix title=attr-fe-autocomplete-tel-local-suffix><code>tel-local-suffix</code></dfn>"
<td>Second part of the component of the telephone number that follows the area code, when that component is split into two components
<td><a href=#ascii-digits>ASCII digits</a>
<td>5702
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-tel-extension title=attr-fe-autocomplete-tel-extension><code>tel-extension</code></dfn>"
<td>Telephone number internal extension code
<td><a href=#ascii-digits>ASCII digits</a>
<td>1000
+ <td><a href=#control-group-text title="Control Group Text">Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-email title=attr-fe-autocomplete-email><code>email</code></dfn>"
<td>E-mail address
<td><a href=#valid-e-mail-address>Valid e-mail address</a>
<td>timbl at w3.org
+ <td><a href=#control-group-e-mail title="Control Group E-mail">E-mail</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-impp title=attr-fe-autocomplete-impp><code>impp</code></dfn>"
<td>URL representing an instant messaging protocol endpoint (for example, "<code title="">aim:goim?screenname=example</code>" or "<code title="">xmpp:fred at example.net</code>")
<td><a href=#valid-url>Valid URL</a>
<td>irc://example.org/timbl,isuser
- </table><p>If the <code title=attr-fe-autocomplete><a href=#attr-fe-autocomplete>autocomplete</a></code> attribute is omitted, the default
+ <td><a href=#control-group-url title="Control Group URL">URL</a>
+ </table><p>The groups correspond to controls as follows:</p>
+
+ <dl><dt><dfn id=control-group-text title="Control Group Text">Text</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-textarea-element>textarea</a></code> elements
+ <dd><code><a href=#the-select-element>select</a></code> elements
+
+ <dt><dfn id=control-group-multiline title="Control Group Multiline">Multiline</dfn>
+
+ <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
+ <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="#url-state-(type=url)" title=attr-input-type-url>URL</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-e-mail title="Control Group E-mail">E-mail</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="#e-mail-state-(type=email)" title=attr-input-type-email>E-mail</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-tel title="Control Group Tel">Tel</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="#telephone-state-(type=tel)" title=attr-input-type-tel>Telephone</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-numeric title="Control Group Numeric">Numeric</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="#number-state-(type=number)" title=attr-input-type-number>Number</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-month title="Control Group Month">Month</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="#month-state-(type=month)" title=attr-input-type-month>Month</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-date title="Control Group Date">Date</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="#date-state-(type=date)" title=attr-input-type-date>Date</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 title="Control Group File">File</dfn>
+
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-text">Text</span> state
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-search">Search</span> state
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-url">URL</span> state
+ <dd><code>input</code> elements whose <code title="attr-input-type">type</code> attribute is in the <span title="attr-input-type-file">File</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+-->
+
+ </dl><hr><p>If the <code title=attr-fe-autocomplete><a href=#attr-fe-autocomplete>autocomplete</a></code> attribute is omitted, the default
value corresponding to the state of 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 used instead (either "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>" or "<code title=attr-fe-autocomplete-off><a href=#attr-fe-autocomplete-off>off</a></code>"). If there is no <a href=#form-owner>form owner</a>, then the
value "<code title=attr-fe-autocomplete-on><a href=#attr-fe-autocomplete-on>on</a></code>" is used.</p>
Modified: source
===================================================================
--- source 2014-01-07 23:36:11 UTC (rev 8383)
+++ source 2014-01-08 00:24:35 UTC (rev 8384)
@@ -51901,7 +51901,8 @@
<li>
<p>A token that is an <span>ASCII case-insensitive</span> match for one of the following
- <span>autofill field</span> strings:</p>
+ <span>autofill field</span> names, excluding those that are <span>inappropriate for the
+ control</span>:</p>
<ul class="brief">
<li>"<code data-x="attr-fe-autocomplete-name">name</code>"
@@ -51981,7 +51982,8 @@
<li>
<p>A token that is an <span>ASCII case-insensitive</span> match for one of the following
- <span>autofill field</span> strings:</p>
+ <span>autofill field</span> names, excluding those that are <span>inappropriate for the
+ control</span>:</p>
<ul class="brief">
<li>"<code data-x="attr-fe-autocomplete-tel">tel</code>"
@@ -52040,6 +52042,12 @@
first and the given name second, and many others simply have one name (a <i>mononym</i>). Having a
single field is therefore more flexible.</p>
+ <p>Some fields are only appropriate for certain form controls. An <span>autofill field</span> name
+ is <dfn data-x="inappropriate for the control">inappropriate for a control</dfn> if the control
+ does not belong to the group listed for that <span>autofill field</span> in the fifth column of
+ the first row describing that <span>autofill field</span> in the table below. What controls fall
+ into each group is described below the table.</p>
+
<table>
<thead>
<tr>
@@ -52047,250 +52055,376 @@
<th> Meaning
<th> Canonical Format
<th> Canonical Format Example
+ <th> Control group
<tbody>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-name"><code>name</code></dfn>"
<td>Full name
<td>Free-form text, no newlines
<td>Sir Timothy John Berners-Lee, OM, KBE, FRS, FREng, FRSA
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td rowspan=5 class="non-rectangular-cell-indentation">
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-honorific-prefix"><code>honorific-prefix</code></dfn>"
<td>Prefix or title (e.g. "Mr.", "Ms.", "Dr.", "<span lang="fr" data-x="">M<sup>lle</sup></span>")
<td>Free-form text, no newlines
<td>Sir
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-given-name"><code>given-name</code></dfn>"
<td>Given name (in some Western cultures, also known as the <i>first name</i>)
<td>Free-form text, no newlines
<td>Timothy
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-additional-name"><code>additional-name</code></dfn>"
<td>Additional names (in some Western cultures, also known as <i>middle names</i>, forenames other than the first name)
<td>Free-form text, no newlines
<td>John
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-family-name"><code>family-name</code></dfn>"
<td>Family name (in some Western cultures, also known as the <i>last name</i> or <i>surname</i>)
<td>Free-form text, no newlines
<td>Berners-Lee
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-honorific-suffix"><code>honorific-suffix</code></dfn>"
<td>Suffix (e.g. "Jr.", "B.Sc.", "MBASW", "II")
<td>Free-form text, no newlines
<td>OM, KBE, FRS, FREng, FRSA
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-nickname"><code>nickname</code></dfn>"
<td>Nickname, screen name, handle: a typically short name used instead of the full name
<td>Free-form text, no newlines
<td>Tim
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-organization-title"><code>organization-title</code></dfn>"
<td>Job title (e.g. "Software Engineer", "Senior Vice President", "Deputy Managing Director")
<td>Free-form text, no newlines
<td>Professor
+ <td><span data-x="Control Group Text">Text</span>
<tbody>
<tr>
<td colspan=4>"<dfn data-x="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
<td>World Wide Web Consortium
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-street-address"><code>street-address</code></dfn>"
<td>Street address (multiple lines, newlines preserved)
<td>Free-form text
<td>32 Vassar Street<br>
MIT Room 32-G524
+ <td><span data-x="Control Group Multiline">Multiline</span>
<tr>
<td rowspan=3 class="non-rectangular-cell-indentation">
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-address-line1"><code>address-line1</code></dfn>"
<td rowspan=3>Street address (one line per field)
<td>Free-form text, no newlines
<td>32 Vassar Street
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-address-line2"><code>address-line2</code></dfn>"
<td>Free-form text, no newlines
<td>MIT Room 32-G524
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-address-line3"><code>address-line3</code></dfn>"
<td>Free-form text, no newlines
<td>
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-locality"><code>locality</code></dfn>"
<td>City, town, village, post town, or other locality within which the relevant street address is found
<td>Free-form text, no newlines
<td>Cambridge
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-region"><code>region</code></dfn>"
<td>Province such as a state, county, or canton within which the locality is found
<td>Free-form text, no newlines
<td>MA
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-country"><code>country</code></dfn>"
<td>Country code
<td>Valid <a href="http://www.iso.org/iso/country_codes/iso_3166_code_lists/country_names_and_code_elements.htm">ISO 3166-1-alpha-2 country code</a> <a href="#refsISO3166">[ISO3166]</a>
<td>US
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-country-name"><code>country-name</code></dfn>"
<td>Country name
<td>Free-form text, no newlines; <a href="#autofill-country">derived from <code data-x="attr-fe-autocomplete-country">country</code> in some cases</a>
<td>US
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-postal-code"><code>postal-code</code></dfn>"
<td>Postal code, post code, ZIP code, CEDEX code (if CEDEX, append "CEDEX", and the <i lang="fr">arrondissement</i> if relevant, to the <code data-x="attr-fe-autocomplete-locality">locality</code> field)
<td>Free-form text, no newlines
<td>02139
+ <td><span data-x="Control Group Text">Text</span>
<tbody>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-cc-name"><code>cc-name</code></dfn>"
<td>Full name as given on the payment instrument
<td>Free-form text, no newlines
<td>Tim Berners-Lee
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td rowspan=3 class="non-rectangular-cell-indentation">
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-cc-given-name"><code>cc-given-name</code></dfn>"
<td>Given name as given on the payment instrument (in some Western cultures, also known as the <i>first name</i>)
<td>Free-form text, no newlines
<td>Tim
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-cc-additional-name"><code>cc-additional-name</code></dfn>"
<td>Additional names given on the payment instrument (in some Western cultures, also known as <i>middle names</i>, forenames other than the first name)
<td>Free-form text, no newlines
<td>
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-cc-family-name"><code>cc-family-name</code></dfn>"
<td>Family name given on the payment instrument (in some Western cultures, also known as the <i>last name</i> or <i>surname</i>)
<td>Free-form text, no newlines
<td>Berners-Lee
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-cc-number"><code>cc-number</code></dfn>"
<td>Code identifying the payment instrument (e.g. the credit card number, bank account number)
<td><span>ASCII digits</span>
<td>4114360123456785 <!-- http://www.auricsystems.com/support-center/sample-credit-card-numbers -->
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-cc-exp"><code>cc-exp</code></dfn>"
<td>Expiration date of the payment instrument
<td><span>Valid month string</span>
<td>2014-12
+ <td><span data-x="Control Group Month">Month</span>
<tr>
<td rowspan=2 class="non-rectangular-cell-indentation">
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-cc-exp-month"><code>cc-exp-month</code></dfn>"
<td>Month component of the expiration date of the payment instrument
<td><span>Valid integer</span> in the range 1..12
<td>12
+ <td><span data-x="Control Group Numeric">Numeric</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-cc-exp-year"><code>cc-exp-year</code></dfn>"
<td>Year component of the expiration date of the payment instrument
<td><span>Valid integer</span> greater than zero
<td>2014
+ <td><span data-x="Control Group Numeric">Numeric</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-cc-csc"><code>cc-csc</code></dfn>"
<td>Security code for the payment instrument (also known as the card security code (CSC), card validation code (CVC), card verification value (CVV), signature panel code (SPC), credit card ID (CCID), etc)
<td><span>ASCII digits</span>
<td>419
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-cc-type"><code>cc-type</code></dfn>"
<td>Type of payment instrument
<td>Free-form text, no newlines
<td>Visa
+ <td><span data-x="Control Group Text">Text</span>
<tbody>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-language"><code>language</code></dfn>"
<td>Preferred language
<td>Valid BCP 47 language tag <a href="#refsBCP47">[BCP47]</a>
<td>en
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-bday"><code>bday</code></dfn>"
<td>Birthday
<td><span>Valid date string</span>
<td>1955-06-08
+ <td><span data-x="Control Group Date">Date</span>
<tr>
<td rowspan=3 class="non-rectangular-cell-indentation">
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-bday-day"><code>bday-day</code></dfn>"
<td>Day component of birthday
<td><span>Valid integer</span> in the range 1..31
<td>8
+ <td><span data-x="Control Group Numeric">Numeric</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-bday-month"><code>bday-month</code></dfn>"
<td>Month component of birthday
<td><span>Valid integer</span> in the range 1..12
<td>6
+ <td><span data-x="Control Group Numeric">Numeric</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-bday-year"><code>bday-year</code></dfn>"
<td>Year component of birthday
<td><span>Valid integer</span> greater than zero
<td>1955
+ <td><span data-x="Control Group Numeric">Numeric</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-sex"><code>sex</code></dfn>"
<td>Gender identity (e.g. Female, Fa'afafine)
<td>Free-form text, no newlines
<td>Male
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-url"><code>url</code></dfn>"
<td>Home page or other Web page corresponding to the company, person, address, or contact information in the other fields associated with this field
<td><span>Valid URL</span>
<td>http://www.w3.org/People/Berners-Lee/
+ <td><span data-x="Control Group URL">URL</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-photo"><code>photo</code></dfn>"
<td>Photograph, icon, or other image corresponding to the company, person, address, or contact information in the other fields associated with this field
- <td>File or <span>Valid URL</span>
+ <td><!--File or--> <span>Valid URL</span>
<td>http://www.w3.org/Press/Stock/Berners-Lee/2001-europaeum-eighth.jpg
+ <td><!--<span data-x="Control Group File">File</span>--> <span data-x="Control Group URL">URL</span>
<tbody>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-tel"><code>tel</code></dfn>"
<td>Full telephone number, including country code
<td><span>ASCII digits</span> and U+0020 SPACE characters, prefixed by a U+002B PLUS SIGN character (+)
<td>+1 617 253 5702
+ <td><span data-x="Control Group Tel">Tel</span>
<tr>
<td rowspan=6 class="non-rectangular-cell-indentation">
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-tel-country-code"><code>tel-country-code</code></dfn>"
<td>Country code component of the telephone number
- <td><span>ASCII digits</span> prefixed by a U+002B PLUS SIGN character (+)
+ <td><span>ASCII digits</span> prefixed by a U+002B PLUS SIGN character (+)
<td>+1
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=3>"<dfn data-x="attr-fe-autocomplete-tel-national"><code>tel-national</code></dfn>"
<td>Telephone number without the county code component, with a country-internal prefix applied if applicable
<td><span>ASCII digits</span> and U+0020 SPACE characters
<td>617 253 5702
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td rowspan=4 class="non-rectangular-cell-indentation">
<td colspan=2>"<dfn data-x="attr-fe-autocomplete-tel-area-code"><code>tel-area-code</code></dfn>"
<td>Area code component of the telephone number, with a country-internal prefix applied if applicable
<td><span>ASCII digits</span>
<td>617
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=2>"<dfn data-x="attr-fe-autocomplete-tel-local"><code>tel-local</code></dfn>"
<td>Telephone number without the country code and area code components
<td><span>ASCII digits</span>
<td>2535702
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td rowspan=2 class="non-rectangular-cell-indentation">
<td>"<dfn data-x="attr-fe-autocomplete-tel-local-prefix"><code>tel-local-prefix</code></dfn>"
<td>First part of the component of the telephone number that follows the area code, when that component is split into two components
<td><span>ASCII digits</span>
<td>253
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td>"<dfn data-x="attr-fe-autocomplete-tel-local-suffix"><code>tel-local-suffix</code></dfn>"
<td>Second part of the component of the telephone number that follows the area code, when that component is split into two components
<td><span>ASCII digits</span>
<td>5702
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-tel-extension"><code>tel-extension</code></dfn>"
<td>Telephone number internal extension code
<td><span>ASCII digits</span>
<td>1000
+ <td><span data-x="Control Group Text">Text</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-email"><code>email</code></dfn>"
<td>E-mail address
<td><span>Valid e-mail address</span>
<td>timbl at w3.org
+ <td><span data-x="Control Group E-mail">E-mail</span>
<tr>
<td colspan=4>"<dfn data-x="attr-fe-autocomplete-impp"><code>impp</code></dfn>"
<td>URL representing an instant messaging protocol endpoint (for example, "<code data-x="">aim:goim?screenname=example</code>" or "<code data-x="">xmpp:fred at example.net</code>")
<td><span>Valid URL</span>
<td>irc://example.org/timbl,isuser
+ <td><span data-x="Control Group URL">URL</span>
</table>
+ <p>The groups correspond to controls as follows:</p>
+
+ <dl>
+
+ <dt><dfn data-x="Control Group Text">Text</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>textarea</code> elements
+ <dd><code>select</code> elements
+
+ <dt><dfn data-x="Control Group Multiline">Multiline</dfn>
+
+ <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
+ <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-url">URL</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+
+ <dt><dfn data-x="Control Group E-mail">E-mail</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-email">E-mail</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+
+ <dt><dfn data-x="Control Group Tel">Tel</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-tel">Telephone</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+
+ <dt><dfn data-x="Control Group Numeric">Numeric</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-number">Number</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+
+ <dt><dfn data-x="Control Group Month">Month</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-month">Month</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+
+ <dt><dfn data-x="Control Group Date">Date</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-date">Date</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+
+<!--
+ <dt><dfn data-x="Control Group File">File</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-url">URL</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-file">File</span> state
+ <dd><code>textarea</code> elements
+ <dd><code>select</code> elements
+-->
+
+ </dl>
+
+ <hr>
+
<p>If the <code data-x="attr-fe-autocomplete">autocomplete</code> attribute is omitted, the default
value corresponding to the state of the element's <span>form owner</span>'s <code
data-x="attr-form-autocomplete">autocomplete</code> attribute is used instead (either "<code
More information about the Commit-Watchers
mailing list