- From: ianbjacobs <notifications@github.com>
- Date: Thu, 07 Oct 2021 14:10:00 -0700
- To: w3c/payment-request <payment-request@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 7 October 2021 21:10:13 UTC
@ianbjacobs commented on this pull request. > @@ -1706,6 +1711,16 @@ <h2> <h2> <dfn>PaymentItem</dfn> dictionary </h2> + <aside class="addition" id="a1"> + <p> + <span class="marker">Candidate Addition 1:</span> + This dictionary might include definitions for optional members `lang` and + `dir` to indicate the language and text-direction override of {{PaymentItem/label}}. Here is my mental model: * The document (e.g., in the body element) specifies language and base direction for text in the document. * If the API is called without any dir/lang metadata, the base direction and language come from the document. * If the API is called with the dir/lang metadata, they override the base direction and language. I think that's where the "override" text comes from. If that is not the right mental model and we should just say base direction, that will be fine. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/payment-request/pull/971#discussion_r724535713
Received on Thursday, 7 October 2021 21:10:13 UTC