- From: snianu <notifications@github.com>
- Date: Fri, 15 Sep 2023 15:04:46 -0700
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 15 September 2023 22:04:54 UTC
@snianu commented on this pull request. > @@ -742,6 +747,15 @@ urlPrefix: https://w3c.github.io/FileAPI/#dfn-; type: dfn; 1. Return |p|. + <h4 method for=ClipboardItem lt=supports(type)>supports(type)</h4> + + This method must run the below steps: + + 1. If |type| is in [=mandatory data types=], then return true. + + 1. If |type| is not in [=mandatory data types=], then return false. That is a good point. We [removed the types](https://github.com/w3c/clipboard-apis/pull/155) that may be supported by a user agent, but I think it would be good to have that list as we're adding this new API to check supported formats. I'll add it in a separate section. Thanks for reviewing this PR! -- Reply to this email directly or view it on GitHub: https://github.com/w3c/clipboard-apis/pull/192#discussion_r1327828403 You are receiving this because you are subscribed to this thread. Message ID: <w3c/clipboard-apis/pull/192/review/1629779559@github.com>
Received on Friday, 15 September 2023 22:04:54 UTC