Skip to content
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

Create a mouse-events feature #1263

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

ddbeck
Copy link
Collaborator

@ddbeck ddbeck commented Jun 19, 2024

This is an old feature, but created to capture api.MouseEvent.movement{X,Y} that were under the pointer-lock feature. The properties work independently of pointer lock, so it makes sense for them to live somewhere else, with a better support history than pointer lock's.

This will need follow up after #1227 (or something like it) merges. See the diff for details.

This was prompted by mdn/content#34263

cc: @bsmth

This is an old feature, but created to capture
`api.MouseEvent.movement{X,Y}` that, until this commit, were under the
`pointer-lock` feature. The properties work independently of pointer
lock, so it makes sense for them to live somewhere else.

This was prompted by mdn/content#34263.
- api.MouseEvent.relatedTarget
- api.MouseEvent.screenX
- api.MouseEvent.screenY
- api.MouseEvent.shiftKey
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these look good to me based on the spec and looks like everything predating pointer events -> https://www.w3.org/TR/2019/WD-pointerevents3-20191212/#intro

@ddbeck ddbeck requested a review from foolip July 2, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature definition Creating or defining new features or groups of features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants