Skip to content

Commit 6b656bf

Browse files
marcoscaceresMarcos Cáceres
authored and
Marcos Cáceres
committed
Remove PaymentAddress' languageCode
* close #608
1 parent 007c785 commit 6b656bf

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
@@ -146,11 +146,6 @@

146146
implemented relatively quickly, the feature will remain in this
147147
version of the specification.
148148
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>
154149
ul>
155150
section>
156151
section>
@@ -2228,14 +2223,6 @@

22282223
<dd>
22292224
The sorting code as used in, for example, France.
22302225
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>
22392226
<dt>
22402227
<dfn>Organizationdfn>
22412228
dt>
@@ -2266,8 +2253,6 @@

22662253
readonly attribute DOMString city;
22672254
readonly attribute DOMString country;
22682255
readonly attribute DOMString dependentLocality;
2269-
// "languageCode" is a feature at risk
2270-
readonly attribute DOMString languageCode;
22712256
readonly attribute DOMString organization;
22722257
readonly attribute DOMString phone;
22732258
readonly attribute DOMString postalCode;
@@ -2403,18 +2388,6 @@

24032388
li>
24042389
ol>
24052390
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>
24182391
<li>Let <var>cleanAddressLinesvar> be an empty list.
24192392
li>
24202393
<li>If <var>detailsvar>["<a>addressLinea>"] is present, then
@@ -2571,22 +2544,6 @@

25712544
<a>[[\sortingCode]]a> internal slot.
25722545
p>
25732546
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>
25902547
<section>
25912548
<h2>
25922549
<dfn>organizationdfn> attribute
@@ -2705,21 +2662,6 @@

27052662
A <a>sorting codea> or the empty string.
27062663
td>
27072664
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>
27232665
<tr>
27242666
<td>
27252667
<dfn>[[\organization]]dfn>
@@ -2761,7 +2703,6 @@

27612703
DOMString dependentLocality;
27622704
DOMString postalCode;
27632705
DOMString sortingCode;
2764-
DOMString languageCode;
27652706
DOMString organization;
27662707
DOMString recipient;
27672708
DOMString phone;
@@ -2826,22 +2767,6 @@

28262767
<dd>
28272768
A <a>sorting codea>.
28282769
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>
28452770
<dt>
28462771
<dfn>organizationdfn> member
28472772
dt>
@@ -2875,7 +2800,6 @@

28752800
DOMString city;
28762801
DOMString country;
28772802
DOMString dependentLocality;
2878-
DOMString languageCode;
28792803
DOMString organization;
28802804
DOMString phone;
28812805
DOMString postalCode;
@@ -2897,8 +2821,7 @@

28972821
<p class="note">
28982822
Developers need to be aware that users might not have the ability to
28992823
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.
29022825
p>
29032826
<dl>
29042827
<dt>
@@ -2937,15 +2860,6 @@

29372860
that provided the <a>PaymentAddressa>'s <a data-link-for=
29382861
"PaymentAddress">dependentLocalitya> attribute's value.
29392862
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>
29492863
<dt>
29502864
<dfn>organizationdfn> member
29512865
dt>
@@ -3053,12 +2967,6 @@

30532967
p>
30542968
aside>
30552969
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>
30622970
<li>If "city" is not in <var>redactListvar>, set
30632971
<var>detailsvar>["<a>citya>"] to the user-provided city, or to
30642972
the empty string if none was provided.

0 commit comments

Comments
 (0)