|
141 | 141 | implemented relatively quickly, the feature will remain in this
|
142 | 142 | version of the specification.
|
143 | 143 | li>
|
144 |
| - <li data-link-for="PaymentAddress">Due to <a>PaymentAddressa>'s <a> |
145 |
| - languageCodea> attribute only being implemented in one browser |
146 |
| - (Chrome), the attribute, and all its associated spec text, is <a>at |
147 |
| - riska>. |
148 |
| - li> |
149 | 144 | ul>
|
150 | 145 | section>
|
151 | 146 | section>
|
|
2164 | 2159 | <dd>
|
2165 | 2160 | The sorting code as used in, for example, France.
|
2166 | 2161 | dd>
|
2167 |
| - <dt> |
2168 |
| - <dfn>Language codedfn> |
2169 |
| - dt> |
2170 |
| - <dd> |
2171 |
| - The language in which the address is provided. It's used to determine |
2172 |
| - the field separators and the order of fields when formatting the |
2173 |
| - address for display. |
2174 |
| - dd> |
2175 | 2162 | <dt>
|
2176 | 2163 | <dfn>Organizationdfn>
|
2177 | 2164 | dt>
|
|
2202 | 2189 | readonly attribute DOMString city;
|
2203 | 2190 | readonly attribute DOMString country;
|
2204 | 2191 | readonly attribute DOMString dependentLocality;
|
2205 |
| - // "languageCode" is a feature at risk |
2206 |
| - readonly attribute DOMString languageCode; |
2207 | 2192 | readonly attribute DOMString organization;
|
2208 | 2193 | readonly attribute DOMString phone;
|
2209 | 2194 | readonly attribute DOMString postalCode;
|
|
2339 | 2324 | li>
|
2340 | 2325 | ol>
|
2341 | 2326 | li>
|
2342 |
| - <li>If <var>detailsvar>["<a>languageCodea>"] is present: |
2343 |
| - <ol> |
2344 |
| - <li>If <a data-cite= |
2345 |
| - "ecma-402#sec-isstructurallyvalidlanguagetag">IsStructurallyValidLanguageTaga>(<var>detailsvar>["<a>languageCodea>"]) |
2346 |
| - is false, throw a <a>RangeErrora> exception. |
2347 |
| - li> |
2348 |
| - <li>Set <var>addressvar>.<a>[[\languageCode]]a> to |
2349 |
| - <a data-cite= |
2350 |
| - "ecma-402#sec-canonicalizelanguagetag">CanonicalizeLanguageTaga>(<var>detailsvar>["<a>languageCodea>"]). |
2351 |
| - li> |
2352 |
| - ol> |
2353 |
| - li> |
2354 | 2327 | <li>Let <var>cleanAddressLinesvar> be an empty list.
|
2355 | 2328 | li>
|
2356 | 2329 | <li>If <var>detailsvar>["<a>addressLinea>"] is present, then
|
|
2507 | 2480 | <a>[[\sortingCode]]a> internal slot.
|
2508 | 2481 | p>
|
2509 | 2482 | section>
|
2510 |
| - <section> |
2511 |
| - <h2> |
2512 |
| - <dfn>languageCodedfn> attribute |
2513 |
| - h2> |
2514 |
| - <p class="issue atrisk"> |
2515 |
| - This feature has been marked "<a>at riska>". If you'd like for |
2516 |
| - this feature to remain in the specification, please signal your |
2517 |
| - support for it to remain in <a href= |
2518 |
| - "https://github.com/w3c/payment-request/issues/608">issue 608a>. |
2519 |
| - p> |
2520 |
| - <p> |
2521 |
| - Represents the <a>language codea> of the address. When getting, |
2522 |
| - returns the value of the <a>PaymentAddressa>'s |
2523 |
| - <a>[[\languageCode]]a> internal slot. |
2524 |
| - p> |
2525 |
| - section> |
2526 | 2483 | <section>
|
2527 | 2484 | <h2>
|
2528 | 2485 | <dfn>organizationdfn> attribute
|
|
2641 | 2598 | A <a>sorting codea> or the empty string.
|
2642 | 2599 | td>
|
2643 | 2600 | tr>
|
2644 |
| - <tr> |
2645 |
| - <td> |
2646 |
| - <dfn>[[\languageCode]]dfn> |
2647 |
| - td> |
2648 |
| - <td> |
2649 |
| - <p class="issue atrisk"> |
2650 |
| - This feature has been marked "<a>at riska>". If you'd like |
2651 |
| - for this feature to remain in the specification, please |
2652 |
| - signal your support for it to remain in <a href= |
2653 |
| - "https://github.com/w3c/payment-request/issues/608">issue |
2654 |
| - 608a>. |
2655 |
| - p>A <a data-cite="BCP47#section-2">language taga> |
2656 |
| - representing the <a>language codea>, or the empty string. |
2657 |
| - td> |
2658 |
| - tr> |
2659 | 2601 | <tr>
|
2660 | 2602 | <td>
|
2661 | 2603 | <dfn>[[\organization]]dfn>
|
|
2697 | 2639 | DOMString dependentLocality;
|
2698 | 2640 | DOMString postalCode;
|
2699 | 2641 | DOMString sortingCode;
|
2700 |
| - DOMString languageCode; |
2701 | 2642 | DOMString organization;
|
2702 | 2643 | DOMString recipient;
|
2703 | 2644 | DOMString phone;
|
|
2762 | 2703 | <dd>
|
2763 | 2704 | A <a>sorting codea>.
|
2764 | 2705 | dd>
|
2765 |
| - <dt> |
2766 |
| - <dfn>languageCodedfn> member |
2767 |
| - dt> |
2768 |
| - <dd> |
2769 |
| - <p class="issue atrisk"> |
2770 |
| - This feature has been marked "<a>at riska>". If you'd like for |
2771 |
| - this feature to remain in the specification, please signal your |
2772 |
| - support for it to remain in <a href= |
2773 |
| - "https://github.com/w3c/payment-request/issues/608">issue |
2774 |
| - 608a>. |
2775 |
| - p> |
2776 |
| - <p> |
2777 |
| - A <a>language codea>, represented as a <a data-cite= |
2778 |
| - "BCP47#section-2">language taga>. |
2779 |
| - p> |
2780 |
| - dd> |
2781 | 2706 | <dt>
|
2782 | 2707 | <dfn>organizationdfn> member
|
2783 | 2708 | dt>
|
|
2811 | 2736 | DOMString city;
|
2812 | 2737 | DOMString country;
|
2813 | 2738 | DOMString dependentLocality;
|
2814 |
| - DOMString languageCode; |
2815 | 2739 | DOMString organization;
|
2816 | 2740 | DOMString phone;
|
2817 | 2741 | DOMString postalCode;
|
|
2833 | 2757 | <p class="note">
|
2834 | 2758 | Developers need to be aware that users might not have the ability to
|
2835 | 2759 | fix certain parts of an address. As such, they need to be mindful to
|
2836 |
| - not to ask the user to fix things they might not have control over |
2837 |
| - (e.g., <a>languageCodea>). |
| 2760 | + not to ask the user to fix things they might not have control over. |
2838 | 2761 | p>
|
2839 | 2762 | <dl>
|
2840 | 2763 | <dt>
|
|
2873 | 2796 | that provided the <a>PaymentAddressa>'s <a data-link-for=
|
2874 | 2797 | "PaymentAddress">dependentLocalitya> attribute's value.
|
2875 | 2798 | dd>
|
2876 |
| - <dt> |
2877 |
| - <dfn>languageCodedfn> member |
2878 |
| - dt> |
2879 |
| - <dd> |
2880 |
| - Denotes that the <a>language codea> has a validation error. In |
2881 |
| - the user agent's UI, this member corresponds to the input field |
2882 |
| - that provided the <a>PaymentAddressa>'s <a data-link-for= |
2883 |
| - "PaymentAddress">languageCodea> attribute's value. |
2884 |
| - dd> |
2885 | 2799 | <dt>
|
2886 | 2800 | <dfn>organizationdfn> member
|
2887 | 2801 | dt>
|
|
2989 | 2903 | p>
|
2990 | 2904 | aside>
|
2991 | 2905 | li>
|
2992 |
| - <li>If "languageCode" is not in <var>redactListvar>, set |
2993 |
| - <var>detailsvar>["<a>languageCodea>"] to a <a data-cite= |
2994 |
| - "BCP47#section-4.5">canonicalized language taga>, or to the empty |
2995 |
| - string if none was provided. |
2996 |
| - <div class="issue atrisk" data-number="608">div> |
2997 |
| - li> |
2998 | 2906 | <li>If "city" is not in <var>redactListvar>, set
|
2999 | 2907 | <var>detailsvar>["<a>citya>"] to the user-provided city, or to
|
3000 | 2908 | the empty string if none was provided.
|
|
0 commit comments