Re: [w3c/payment-request] Derive direction from document element too (#956)

@marcoscaceres commented on this pull request.



> @@ -1139,20 +1139,23 @@ <h2>
               Present a user interface that will allow the user to interact
               with the |handlers|. The user agent SHOULD prioritize the user's
               preference when presenting payment methods. The user interface
-              SHOULD be presented using the language and locale-based
-              formatting that matches the |document|'s [=document
-              element|document element's=] [=Node/language=], if any, or an
-              appropriate fallback locale if that is not available.
+              SHOULD be presented using the language, base direction, and
+              locale-based formatting that matches the |document|'s [=document
+              element|document element's=] [=Node/language=] and
+              {{Document/dir}} attribute, if any, or an appropriate fallback

It should, but there is no such thing on Node unfortunately:
https://dom.spec.whatwg.org/#node
 
The only "dir"s in the platform are: 
https://respec.org/xref/?term=dir

-- 
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/956#discussion_r630755455

Received on Wednesday, 12 May 2021 06:22:25 UTC