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

@snianu commented on this pull request.



> +  : Input
+  :: |items|, a [=sequence=]<{{Blob}}> 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
+
+     1. Normalize line endings according to platform conventions

Fixed this algorithm.

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

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

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