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

@snianu commented on this pull request.



> + <h3 id="to-write-blobs-to-clipboard"><dfn>write blobs and option to the clipboard</dfn></h3>
+
+  : Input
+  :: |items|, a [=sequence=]&lt;{{Blob}}&gt; list of {{Blob}}s to write
+  :: |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

Fixed this algorithm.

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

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

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