-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Fold DocumentAndElementEventHandlers into GlobalEventHandlers? #8053
Labels
Comments
This comment was marked as outdated.
This comment was marked as outdated.
I think that would make sense. @hallvors do you know if there was any web compat rationale here? Or just what IE did or so? |
3 tasks
foolip
added a commit
that referenced
this issue
Jul 11, 2022
foolip
added a commit
that referenced
this issue
Jul 11, 2022
foolip
added a commit
that referenced
this issue
Dec 21, 2022
noamr
pushed a commit
to noamr/html
that referenced
this issue
Jan 17, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#699 introduced this Web IDL:
Per https://w3c.github.io/clipboard-apis/#fire-a-clipboard-event these events fire on elements and bubble. https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=10421 confirms the bubbling.
In other words, these events are much like "click" or "mousemove" events.
What's weird is that the the
oncopy
event handler properties are on onlyHTMLElement
andDocument
, even though they bubble and will reach the window object.Should we just move these event handler attributes to
GlobalEventHandlers
?The text was updated successfully, but these errors were encountered: