[w3c/clipboard-apis] Return initialized items from clipboard reads (PR #258)

Build the types array from the item’s representations and return the ClipboardItem object to clipboard.read().

Found while reviewing the [Chinese](https://htmlspecs.com/clipboard-apis/), [Japanese](https://jp.htmlspecs.com/clipboard-apis/), and [Korean](https://ko.htmlspecs.com/clipboard-apis/) translations.


<!--
    This comment and the below content is programmatically generated.
    You may add a comma-separated list of anchors you'd like a
    direct link to below (e.g. #idl-serializers, #idl-sequence):

    Don't remove this comment or modify anything below this line.
    If you don't want a preview generated for this pull request,
    just replace the whole of this comment's content by "no preview"
    and remove what's below.
-->
***
<a href="https://pr-preview.w3.org/JinDX/clipboard-apis/pull/258.html" title="Last updated on Nov 10, 2026, 7:14 AM UTC (00fe21a)">Preview</a> | <a href="https://pr-preview.w3.org/w3c/clipboard-apis/258/6201fd1...JinDX:00fe21a.html" title="Last updated on Nov 10, 2026, 7:14 AM UTC (00fe21a)">Diff</a>
You can view, comment on, or merge this pull request online at:

  https://github.com/w3c/clipboard-apis/pull/258

-- Commit Summary --

  * Return initialized items from clipboard reads

-- File Changes --

    M index.bs (8)

-- Patch Links --

https://github.com/w3c/clipboard-apis/pull/258.patch
https://github.com/w3c/clipboard-apis/pull/258.diff

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

Message ID: <w3c/clipboard-apis/pull/258@github.com>

Received on Tuesday, 10 November 2026 07:15:10 UTC