Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[giow] (1) Add transaction-currency and transaction-amount fields for…
… autofill.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=25471
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@8735 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Aug 29, 2014
1 parent 468ff6a commit 73dc03c
Show file tree
Hide file tree
Showing 3 changed files with 83 additions and 24 deletions.
42 changes: 30 additions & 12 deletions complete.html
Expand Up @@ -40233,6 +40233,8 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute>4.10.19.8.1 Autofil
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-cc-exp-year><a href=#attr-fe-autocomplete-cc-exp-year>cc-exp-year</a></code>"
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-cc-csc><a href=#attr-fe-autocomplete-cc-csc>cc-csc</a></code>"
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-cc-type><a href=#attr-fe-autocomplete-cc-type>cc-type</a></code>"
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-transaction-currency><a href=#attr-fe-autocomplete-transaction-currency>transaction-currency</a></code>"
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-transaction-amount><a href=#attr-fe-autocomplete-transaction-amount>transaction-amount</a></code>"
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-language><a href=#attr-fe-autocomplete-language>language</a></code>"
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-bday><a href=#attr-fe-autocomplete-bday>bday</a></code>"
<li>"<code id=autofilling-form-controls:-the-autocomplete-attribute:attr-fe-autocomplete-bday-day><a href=#attr-fe-autocomplete-bday-day>bday-day</a></code>"
Expand Down Expand Up @@ -40512,11 +40514,21 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute>4.10.19.8.1 Autofil
<td>Free-form text, no newlines
<td>Visa
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-27>Text</a>
<tbody><tr><td colspan=4>"<dfn id=attr-fe-autocomplete-transaction-currency><code>transaction-currency</code></dfn>"
<td>The currency that the user would prefer the transaction to use
<td>ISO 4217 currency code <a href=#refsISO4217>[ISO4217]</a>
<td>GBP
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-28>Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-transaction-amount><code>transaction-amount</code></dfn>"
<td>The amount that the user would like for the transaction (e.g. when entering a bid or sale price)
<td><a href=#valid-floating-point-number id=autofilling-form-controls:-the-autocomplete-attribute:valid-floating-point-number>Valid floating-point number</a>
<td>401.00
<td><a href=#control-group-numeric id=autofilling-form-controls:-the-autocomplete-attribute:control-group-numeric-3>Numeric</a>
<tbody><tr><td colspan=4>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-28>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-29>Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-bday><code>bday</code></dfn>"
<td>Birthday
<td><a href=#valid-date-string id=autofilling-form-controls:-the-autocomplete-attribute:valid-date-string>Valid date string</a>
Expand All @@ -40527,22 +40539,22 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute>4.10.19.8.1 Autofil
<td>Day component of birthday
<td><a href=#valid-integer id=autofilling-form-controls:-the-autocomplete-attribute:valid-integer-3>Valid integer</a> in the range 1..31
<td>8
<td><a href=#control-group-numeric id=autofilling-form-controls:-the-autocomplete-attribute:control-group-numeric-3>Numeric</a>
<td><a href=#control-group-numeric id=autofilling-form-controls:-the-autocomplete-attribute:control-group-numeric-4>Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-bday-month><code>bday-month</code></dfn>"
<td>Month component of birthday
<td><a href=#valid-integer id=autofilling-form-controls:-the-autocomplete-attribute:valid-integer-4>Valid integer</a> in the range 1..12
<td>6
<td><a href=#control-group-numeric id=autofilling-form-controls:-the-autocomplete-attribute:control-group-numeric-4>Numeric</a>
<td><a href=#control-group-numeric id=autofilling-form-controls:-the-autocomplete-attribute:control-group-numeric-5>Numeric</a>
<tr><td colspan=3>"<dfn id=attr-fe-autocomplete-bday-year><code>bday-year</code></dfn>"
<td>Year component of birthday
<td><a href=#valid-integer id=autofilling-form-controls:-the-autocomplete-attribute:valid-integer-5>Valid integer</a> greater than zero
<td>1955
<td><a href=#control-group-numeric id=autofilling-form-controls:-the-autocomplete-attribute:control-group-numeric-5>Numeric</a>
<td><a href=#control-group-numeric id=autofilling-form-controls:-the-autocomplete-attribute:control-group-numeric-6>Numeric</a>
<tr><td colspan=4>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-29>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-30>Text</a>
<tr><td colspan=4>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:valid-url>Valid URL</a>
Expand All @@ -40563,39 +40575,39 @@ <h6 id=autofilling-form-controls:-the-autocomplete-attribute>4.10.19.8.1 Autofil
<td>Country code component of the telephone number
<td><a href=#ascii-digits id=autofilling-form-controls:-the-autocomplete-attribute:ascii-digits-4>ASCII digits</a> prefixed by a U+002B PLUS SIGN character (+)
<td>+1
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-30>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-31>Text</a>
<tr><td colspan=3>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:ascii-digits-5>ASCII digits</a> and U+0020 SPACE characters
<td>617 253 5702
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-31>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-32>Text</a>
<tr><td class=non-rectangular-cell-indentation rowspan=4>
<td colspan=2>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:ascii-digits-6>ASCII digits</a>
<td>617
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-32>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-33>Text</a>
<tr><td colspan=2>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:ascii-digits-7>ASCII digits</a>
<td>2535702
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-33>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-34>Text</a>
<tr><td class=non-rectangular-cell-indentation rowspan=2>
<td>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:ascii-digits-8>ASCII digits</a>
<td>253
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-34>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-35>Text</a>
<tr><td>"<dfn id=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 id=autofilling-form-controls:-the-autocomplete-attribute:ascii-digits-9>ASCII digits</a>
<td>5702
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-35>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-36>Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-tel-extension><code>tel-extension</code></dfn>"
<td>Telephone number internal extension code
<td><a href=#ascii-digits id=autofilling-form-controls:-the-autocomplete-attribute:ascii-digits-10>ASCII digits</a>
<td>1000
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-36>Text</a>
<td><a href=#control-group-text id=autofilling-form-controls:-the-autocomplete-attribute:control-group-text-37>Text</a>
<tr><td colspan=4>"<dfn id=attr-fe-autocomplete-email><code>email</code></dfn>"
<td>E-mail address
<td><a href=#valid-e-mail-address id=autofilling-form-controls:-the-autocomplete-attribute:valid-e-mail-address>Valid e-mail address</a>
Expand Down Expand Up @@ -40844,6 +40856,12 @@ <h6 id=processing-model-4>4.10.19.8.2 Processing model</h6>
<tr><td>"<code id=processing-model-4:attr-fe-autocomplete-cc-type><a href=#attr-fe-autocomplete-cc-type>cc-type</a></code>"
<td>3
<td>Normal
<tr><td>"<code id=processing-model-4:attr-fe-autocomplete-transaction-currency><a href=#attr-fe-autocomplete-transaction-currency>transaction-currency</a></code>"
<td>3
<td>Normal
<tr><td>"<code id=processing-model-4:attr-fe-autocomplete-transaction-amount><a href=#attr-fe-autocomplete-transaction-amount>transaction-amount</a></code>"
<td>3
<td>Normal
<tr><td>"<code id=processing-model-4:attr-fe-autocomplete-language><a href=#attr-fe-autocomplete-language>language</a></code>"
<td>3
<td>Normal
Expand Down

0 comments on commit 73dc03c

Please sign in to comment.