Re: [w3c/payment-request] Feat: add constructor to PaymentAddress (#654)

marcoscaceres commented on this pull request.



> @@ -3379,7 +3837,16 @@ <h2>
       <p>
         This specification relies on several other underlying specifications.
       </p>
-      <dl>
+      <dl data-sort="">
+        <dt>
+          Infra
+        </dt>
+        <dd>
+          The [[!INFRA] specification defines how to <dfn data-cite=
+          "!INFRA#strip-leading-and-trailing-ascii-whitespace">strip leading
+          and trailing ascii whitespace</dfn>. It also defines the concpet of a
+          <dfn data-cite="!INFRA#list">list</dfn>.

Here is a test string:
```
var whiteSpace = 
"\u0009\u000A\u000B\u000C\u000D\u0020\u0085\u00A0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000"
whiteSpace.trim().length; // 1, because u0085 is apparently not WS. 
```

-- 
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/654#discussion_r164384393

Received on Monday, 29 January 2018 10:12:24 UTC