|
146 | 146 | implemented relatively quickly, the feature will remain in this
|
147 | 147 | version of the specification.
|
148 | 148 | li>
|
149 |
| - <li data-link-for="PaymentAddress">Due to <a>PaymentAddressa>'s <a> |
150 |
| - languageCodea> attribute only being implemented in one browser |
151 |
| - (Chrome), the attribute, and all its associated spec text, is <a>at |
152 |
| - riska>. |
153 |
| - li> |
154 | 149 | ul>
|
155 | 150 | section>
|
156 | 151 | section>
|
|
2228 | 2223 | <dd>
|
2229 | 2224 | The sorting code as used in, for example, France.
|
2230 | 2225 | dd>
|
2231 |
| - <dt> |
2232 |
| - <dfn>Language codedfn> |
2233 |
| - dt> |
2234 |
| - <dd> |
2235 |
| - The language in which the address is provided. It's used to determine |
2236 |
| - the field separators and the order of fields when formatting the |
2237 |
| - address for display. |
2238 |
| - dd> |
2239 | 2226 | <dt>
|
2240 | 2227 | <dfn>Organizationdfn>
|
2241 | 2228 | dt>
|
|
2266 | 2253 | readonly attribute DOMString city;
|
2267 | 2254 | readonly attribute DOMString country;
|
2268 | 2255 | readonly attribute DOMString dependentLocality;
|
2269 |
| - // "languageCode" is a feature at risk |
2270 |
| - readonly attribute DOMString languageCode; |
2271 | 2256 | readonly attribute DOMString organization;
|
2272 | 2257 | readonly attribute DOMString phone;
|
2273 | 2258 | readonly attribute DOMString postalCode;
|
|
2403 | 2388 | li>
|
2404 | 2389 | ol>
|
2405 | 2390 | li>
|
2406 |
| - <li>If <var>detailsvar>["<a>languageCodea>"] is present: |
2407 |
| - <ol> |
2408 |
| - <li>If <a data-cite= |
2409 |
| - "ecma-402#sec-isstructurallyvalidlanguagetag">IsStructurallyValidLanguageTaga>(<var>detailsvar>["<a>languageCodea>"]) |
2410 |
| - is false, throw a <a>RangeErrora> exception. |
2411 |
| - li> |
2412 |
| - <li>Set <var>addressvar>.<a>[[\languageCode]]a> to |
2413 |
| - <a data-cite= |
2414 |
| - "ecma-402#sec-canonicalizelanguagetag">CanonicalizeLanguageTaga>(<var>detailsvar>["<a>languageCodea>"]). |
2415 |
| - li> |
2416 |
| - ol> |
2417 |
| - li> |
2418 | 2391 | <li>Let <var>cleanAddressLinesvar> be an empty list.
|
2419 | 2392 | li>
|
2420 | 2393 | <li>If <var>detailsvar>["<a>addressLinea>"] is present, then
|
|
2571 | 2544 | <a>[[\sortingCode]]a> internal slot.
|
2572 | 2545 | p>
|
2573 | 2546 | section>
|
2574 |
| - <section> |
2575 |
| - <h2> |
2576 |
| - <dfn>languageCodedfn> attribute |
2577 |
| - h2> |
2578 |
| - <p class="issue atrisk"> |
2579 |
| - This feature has been marked "<a>at riska>". If you'd like for |
2580 |
| - this feature to remain in the specification, please signal your |
2581 |
| - support for it to remain in <a href= |
2582 |
| - "https://github.com/w3c/payment-request/issues/608">issue 608a>. |
2583 |
| - p> |
2584 |
| - <p> |
2585 |
| - Represents the <a>language codea> of the address. When getting, |
2586 |
| - returns the value of the <a>PaymentAddressa>'s |
2587 |
| - <a>[[\languageCode]]a> internal slot. |
2588 |
| - p> |
2589 |
| - section> |
2590 | 2547 | <section>
|
2591 | 2548 | <h2>
|
2592 | 2549 | <dfn>organizationdfn> attribute
|
|
2705 | 2662 | A <a>sorting codea> or the empty string.
|
2706 | 2663 | td>
|
2707 | 2664 | tr>
|
2708 |
| - <tr> |
2709 |
| - <td> |
2710 |
| - <dfn>[[\languageCode]]dfn> |
2711 |
| - td> |
2712 |
| - <td> |
2713 |
| - <p class="issue atrisk"> |
2714 |
| - This feature has been marked "<a>at riska>". If you'd like |
2715 |
| - for this feature to remain in the specification, please |
2716 |
| - signal your support for it to remain in <a href= |
2717 |
| - "https://github.com/w3c/payment-request/issues/608">issue |
2718 |
| - 608a>. |
2719 |
| - p>A <a data-cite="BCP47#section-2">language taga> |
2720 |
| - representing the <a>language codea>, or the empty string. |
2721 |
| - td> |
2722 |
| - tr> |
2723 | 2665 | <tr>
|
2724 | 2666 | <td>
|
2725 | 2667 | <dfn>[[\organization]]dfn>
|
|
2761 | 2703 | DOMString dependentLocality;
|
2762 | 2704 | DOMString postalCode;
|
2763 | 2705 | DOMString sortingCode;
|
2764 |
| - DOMString languageCode; |
2765 | 2706 | DOMString organization;
|
2766 | 2707 | DOMString recipient;
|
2767 | 2708 | DOMString phone;
|
|
2826 | 2767 | <dd>
|
2827 | 2768 | A <a>sorting codea>.
|
2828 | 2769 | dd>
|
2829 |
| - <dt> |
2830 |
| - <dfn>languageCodedfn> member |
2831 |
| - dt> |
2832 |
| - <dd> |
2833 |
| - <p class="issue atrisk"> |
2834 |
| - This feature has been marked "<a>at riska>". If you'd like for |
2835 |
| - this feature to remain in the specification, please signal your |
2836 |
| - support for it to remain in <a href= |
2837 |
| - "https://github.com/w3c/payment-request/issues/608">issue |
2838 |
| - 608a>. |
2839 |
| - p> |
2840 |
| - <p> |
2841 |
| - A <a>language codea>, represented as a <a data-cite= |
2842 |
| - "BCP47#section-2">language taga>. |
2843 |
| - p> |
2844 |
| - dd> |
2845 | 2770 | <dt>
|
2846 | 2771 | <dfn>organizationdfn> member
|
2847 | 2772 | dt>
|
|
2875 | 2800 | DOMString city;
|
2876 | 2801 | DOMString country;
|
2877 | 2802 | DOMString dependentLocality;
|
2878 |
| - DOMString languageCode; |
2879 | 2803 | DOMString organization;
|
2880 | 2804 | DOMString phone;
|
2881 | 2805 | DOMString postalCode;
|
|
2897 | 2821 | <p class="note">
|
2898 | 2822 | Developers need to be aware that users might not have the ability to
|
2899 | 2823 | fix certain parts of an address. As such, they need to be mindful to
|
2900 |
| - not to ask the user to fix things they might not have control over |
2901 |
| - (e.g., <a>languageCodea>). |
| 2824 | + not to ask the user to fix things they might not have control over. |
2902 | 2825 | p>
|
2903 | 2826 | <dl>
|
2904 | 2827 | <dt>
|
|
2937 | 2860 | that provided the <a>PaymentAddressa>'s <a data-link-for=
|
2938 | 2861 | "PaymentAddress">dependentLocalitya> attribute's value.
|
2939 | 2862 | dd>
|
2940 |
| - <dt> |
2941 |
| - <dfn>languageCodedfn> member |
2942 |
| - dt> |
2943 |
| - <dd> |
2944 |
| - Denotes that the <a>language codea> has a validation error. In |
2945 |
| - the user agent's UI, this member corresponds to the input field |
2946 |
| - that provided the <a>PaymentAddressa>'s <a data-link-for= |
2947 |
| - "PaymentAddress">languageCodea> attribute's value. |
2948 |
| - dd> |
2949 | 2863 | <dt>
|
2950 | 2864 | <dfn>organizationdfn> member
|
2951 | 2865 | dt>
|
|
3053 | 2967 | p>
|
3054 | 2968 | aside>
|
3055 | 2969 | li>
|
3056 |
| - <li>If "languageCode" is not in <var>redactListvar>, set |
3057 |
| - <var>detailsvar>["<a>languageCodea>"] to a <a data-cite= |
3058 |
| - "BCP47#section-4.5">canonicalized language taga>, or to the empty |
3059 |
| - string if none was provided. |
3060 |
| - <div class="issue atrisk" data-number="608">div> |
3061 |
| - li> |
3062 | 2970 | <li>If "city" is not in <var>redactListvar>, set
|
3063 | 2971 | <var>detailsvar>["<a>citya>"] to the user-provided city, or to
|
3064 | 2972 | the empty string if none was provided.
|
|
0 commit comments