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

@domenic commented on this pull request.



>  
-    Promise<Blob> getType(DOMString type);
-  };
+  A [=clipboard item=] is conceptually data that the user has expressed a desire to make shareable by invoking a "cut" or "copy" command.
+  For example, if a user copies a range of cells from a spreadsheet of a native application, it will result in one [=clipboard item=]. If a user copies a set of files from their desktop, that list of files will be represented by multiple [=clipboard item=]s.

> would be better placed as a note of the ClipboardIteminterface.

I disagree? That text is defining the structure of the conceptual `clipboard item`, which seems pretty important. It shouldn't be a note (since notes are non-normative), and it's  only indirectly related to the `ClipboardItem` interface (since a `ClipboardItem` contains a conceptual `clipboard item`).

Similarly the first paragraph you mention,

> to a note (https://respec.org/docs/#note) of the Clipboard (not ClipboardItem) interface.

should not be a note. I don't know why it would be more related to `Clipboard` than `ClipboardItem`, either...

-- 
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/clipboard-apis/pull/158#discussion_r749430985

Received on Monday, 15 November 2021 15:27:32 UTC