Re: [w3c/clipboard-apis] Add clipboard IDL description. (#158)

@snianu commented on this pull request.



> +  :: |option|, a [=ClipboardItem/clipboard item=]'s [=presentation style=]
+
+  : Output
+  :: None
+
+  1. If the |items| list is not empty, then
+
+   1. For each |item| in |items|:
+
+    1. If data type is <i>text/plain</i>, then
+
+     1. Ensure encoding is correct per OS and locale conventions
+
+     1. Normalize line endings according to platform conventions
+
+     1. Place text on clipboard with the appropriate OS clipboard

Fixed this algorithm.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/pull/158#discussion_r779907350
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/clipboard-apis/pull/158/review/846126732@github.com>

Received on Thursday, 6 January 2022 22:26:23 UTC