-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Demix drag/drop events from GlobalEventHandlers #16556
Demix drag/drop events from GlobalEventHandlers #16556
Conversation
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
1 similar comment
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
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.
Rather than add new entries, I think the drag* and drop events on Document
should be moved to HTMLElement
, since the target of these events are elements with the draggable
attribute. In my testing it seems like it has to be HTML elements, not arbitrary elements.
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
This pull request has merge conflicts that must be resolved before it can be merged. |
I think some content work didn't happen here. There is a broken compat table here https://developer.mozilla.org/en-US/docs/Web/API/Document/drag_event I guess that page shouldn't exist and redirect to https://developer.mozilla.org/en-US/docs/Web/API/HTMLELement/drag_event? What was the plan here? |
I opened mdn/content#20206 to remove DnD event pages under |
This PR demixes the
drag
anddrop
events from the GlobalEventHandlers mixin.