Re: [w3c/browser-payment-api] Add dir/lang member on dictionaries whose content is displayed in browser UI (#327)

I'm not the one who reviewed this (I believe Addison will get back to you very soon).  I just have one thing i wanted to mention:

I think this should probably work fine for the example below.

```JS
[
  displayItems: [{
    label: "البند الخاص (للبيع!)",
    dir: "rtl",
    lang: "ar-AE",
    amount: { },
  }]
]
```
but you'd need to be careful any time the scope of the `dir` attribute covers more than one label or string.  If the two strings need to have different directionality (such as if the amount was a mac address or telephone number in the example above) you'd need to at least be able to override the direction where necessary. 

Note that the Web Annotation solution which you followed, @marcoscaceres only associates a `dir` attribute with a single string at a time, which is the safest way.

-- 
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/browser-payment-api/issues/327#issuecomment-287125209

Received on Thursday, 16 March 2017 17:08:29 UTC