-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow empty ClipboardItem. #198
Conversation
@evanstade Please let me know if you have any concern with this change, thanks! |
@@ -654,7 +654,6 @@ url: https://w3c.github.io/permissions/#permissions-task-source; type: dfn; | |||
1. Set |clipboardItemObject|'s [=/clipboard item=] to |clipboardItem|. | |||
|
|||
The <dfn constructor for="ClipboardItem" lt="ClipboardItem(items, options)"><code>new ClipboardItem(<var>items</var>, <var>options</var>)</code></dfn> constructor steps are: | |||
1. If |items| is empty, then throw a {{TypeError}}. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the behavior on other browsers? Are they compliant with the spec after this update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure if this change is actually required as the existing algorithm in |
Abandoning this PR as per the resolution in the EditingWG meeting. |
Closes #179
For normative changes, the following tasks have been completed:
Implementation commitment:
Preview | Diff