Re: [w3c/clipboard-apis] Arbitrary clipboard types (Issue #165)

Thanks for the proposal.  Some questions below to clarify some details:

Your "web" keyword indicates that a mime-type is to be read from the platform-specific location named in the [Web Custom Format Map](https://github.com/w3c/editing/blob/gh-pages/docs/clipboard-pickling/explainer.md#on-windows).  True?

The absence of the keyword means that it is read from the well-known location (assuming we're dealing with a well-known mime-type like "text/html").  True?

It is assumed that the content returned is always unsanitized whether the "web" keyword is used or not.  True?

Say on Windows, if the clipboard contained a Web Custom Format Map entry for "text/html" in "Web Custom Format 1", and the clipboard also contained the "HTML Format", you would expect at least two entries in `ClipboardItem.types`: "web text/html" and "text/html".  True?

Stating the above more generally, `ClipboardItem.types` lists all the strings that an author can supply to `ClipboardItem.getType` to access all of the content from the Web Custom Format Map and all of the well-known types present on the clipboard.  True?





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

Message ID: <w3c/clipboard-apis/issues/165/1027280026@github.com>

Received on Tuesday, 1 February 2022 20:59:05 UTC