Skip to content

Commit 0e4933e

Browse files
ianbjacobsMarcos Cáceres
authored and
Marcos Cáceres
committed
Editorial: UAs should not alter value string (addresses w3c#624) (w3c#631)
1 parent 7e4a2ca commit 0e4933e

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

index.html

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,9 @@ <h2>
13831383
combinations of currency code for which localized currency symbols
13841384
are available is implementation dependent. Where a localized
13851385
currency symbol is not available, a user agent SHOULD use U+00A4
1386-
(¤) for formatting.
1386+
(¤) for formatting. User agents MAY format the display of the
1387+
<a>currency</a> member to adhere to OS conventions (e.g., for
1388+
localization purposes).
13871389
</p>
13881390
</dd>
13891391
<dt>
@@ -1474,6 +1476,14 @@ <h3>
14741476
a total can't be a negative number.
14751477
</li>
14761478
</ol>
1479+
<aside class="note" title="No alteration of values">
1480+
<p>
1481+
The algorithm does not alter or canonicalize the
1482+
<var>amount</var>.<a>value</a>. For example, a user agent will not
1483+
change "55" into "55.00". Payment handlers need to be prepared to
1484+
deal with such values.
1485+
</p>
1486+
</aside>
14771487
</section>
14781488
</section>
14791489
<section>
@@ -2577,7 +2587,8 @@ <h2>
25772587
});
25782588
</pre>
25792589
</aside>
2580-
<p data-tests="payment-request-update-event-updatewith-method.https.html">
2590+
<p data-tests=
2591+
"payment-request-update-event-updatewith-method.https.html">
25812592
The <a>updateWith(detailsPromise)</a> method MUST act as follows:
25822593
</p>
25832594
<ol class="algorithm">

0 commit comments

Comments
 (0)