-
Notifications
You must be signed in to change notification settings - Fork 51
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
Define events for drag-and-drop operations (textInput etc) #367
Comments
Gecko's behavior with @masayuki-nakano 's patch for https://bugzilla.mozilla.org/show_bug.cgi?id=903746 is |
zcorpan
added a commit
to web-platform-tests/wpt
that referenced
this issue
Apr 3, 2024
moz-v2v-gh
pushed a commit
to mozilla/gecko-dev
that referenced
this issue
Apr 10, 2024
…ith drag and drop, a=testonly Automatic update from web-platform-tests UIEvents: Tentative test for textInput with drag and drop See w3c/uievents#367 -- wpt-commits: ee2fe53bf4b960b90a072d65a57b56b797a61289 wpt-pr: 44744
ErichDonGubler
pushed a commit
to erichdongubler-mozilla/firefox
that referenced
this issue
Apr 15, 2024
…ith drag and drop, a=testonly Automatic update from web-platform-tests UIEvents: Tentative test for textInput with drag and drop See w3c/uievents#367 -- wpt-commits: ee2fe53bf4b960b90a072d65a57b56b797a61289 wpt-pr: 44744
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #362 (comment)
https://html.spec.whatwg.org/#drag-and-drop-processing-model defines the drag and drop model and some events, and refers to Pointer Events spec for some events.
When performing a drag and drop operation in an editing host (or dropping in an editing host), browsers fire
textInput
,beforeinput
, mutation events,input
-- which isn't currently defined as far as I can tell.Interestingly, the event order in Chromium and WebKit is
textInput
and thenbeforeinput
, which maybe should be the other way around for consistency with input from typing.Demo: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/11841
I think this should integrate somehow with this part of HTML:
cc @masayuki-nakano
The text was updated successfully, but these errors were encountered: