Skip to content

Commit 3fb7e37

Browse files
Remove PaymentAddress' languageCode (#765)
* close #608
1 parent 277a385 commit 3fb7e37

File tree

1 file changed

+1
-93
lines changed

1 file changed

+1
-93
lines changed

index.html

Lines changed: 1 addition & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -141,11 +141,6 @@

141141
implemented relatively quickly, the feature will remain in this
142142
version of the specification.
143143
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>
149144
ul>
150145
section>
151146
section>
@@ -2164,14 +2159,6 @@

21642159
<dd>
21652160
The sorting code as used in, for example, France.
21662161
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>
21752162
<dt>
21762163
<dfn>Organizationdfn>
21772164
dt>
@@ -2202,8 +2189,6 @@

22022189
readonly attribute DOMString city;
22032190
readonly attribute DOMString country;
22042191
readonly attribute DOMString dependentLocality;
2205-
// "languageCode" is a feature at risk
2206-
readonly attribute DOMString languageCode;
22072192
readonly attribute DOMString organization;
22082193
readonly attribute DOMString phone;
22092194
readonly attribute DOMString postalCode;
@@ -2339,18 +2324,6 @@

23392324
li>
23402325
ol>
23412326
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>
23542327
<li>Let <var>cleanAddressLinesvar> be an empty list.
23552328
li>
23562329
<li>If <var>detailsvar>["<a>addressLinea>"] is present, then
@@ -2507,22 +2480,6 @@

25072480
<a>[[\sortingCode]]a> internal slot.
25082481
p>
25092482
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>
25262483
<section>
25272484
<h2>
25282485
<dfn>organizationdfn> attribute
@@ -2641,21 +2598,6 @@

26412598
A <a>sorting codea> or the empty string.
26422599
td>
26432600
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>
26592601
<tr>
26602602
<td>
26612603
<dfn>[[\organization]]dfn>
@@ -2697,7 +2639,6 @@

26972639
DOMString dependentLocality;
26982640
DOMString postalCode;
26992641
DOMString sortingCode;
2700-
DOMString languageCode;
27012642
DOMString organization;
27022643
DOMString recipient;
27032644
DOMString phone;
@@ -2762,22 +2703,6 @@

27622703
<dd>
27632704
A <a>sorting codea>.
27642705
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>
27812706
<dt>
27822707
<dfn>organizationdfn> member
27832708
dt>
@@ -2811,7 +2736,6 @@

28112736
DOMString city;
28122737
DOMString country;
28132738
DOMString dependentLocality;
2814-
DOMString languageCode;
28152739
DOMString organization;
28162740
DOMString phone;
28172741
DOMString postalCode;
@@ -2833,8 +2757,7 @@

28332757
<p class="note">
28342758
Developers need to be aware that users might not have the ability to
28352759
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.
28382761
p>
28392762
<dl>
28402763
<dt>
@@ -2873,15 +2796,6 @@

28732796
that provided the <a>PaymentAddressa>'s <a data-link-for=
28742797
"PaymentAddress">dependentLocalitya> attribute's value.
28752798
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>
28852799
<dt>
28862800
<dfn>organizationdfn> member
28872801
dt>
@@ -2989,12 +2903,6 @@

29892903
p>
29902904
aside>
29912905
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>
29982906
<li>If "city" is not in <var>redactListvar>, set
29992907
<var>detailsvar>["<a>citya>"] to the user-provided city, or to
30002908
the empty string if none was provided.

0 commit comments

Comments
 (0)