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

Note contextmenu, click, and auxclick are PointerEvents though Firefox and Safari don't follow the standard #27929

Closed
danielhjacobs opened this issue Jul 13, 2023 · 0 comments · Fixed by #28831
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!

Comments

@danielhjacobs
Copy link
Contributor

danielhjacobs commented Jul 13, 2023

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Element/contextmenu_event

What specific section or headline is this issue about?

Event type

What information was incorrect, unhelpful, or incomplete?

According to w3c/pointerevents#317, the "correct" event type is PointerEvent. However, while Chromium browsers follow the new standard, Firefox and Safari do not. The Event Type should be noted as being PointerEvent, but with a clear obvious disclaimer that this is not the case on Firefox or Safari. Currently, that disclaimer is hidden in https://developer.mozilla.org/en-US/docs/Web/API/Element/contextmenu_event#browser_compatibility.

What did you expect to see?

The event type that matches the spec, but with an obvious disclaimer that the spec is not followed by Firefox or Safari.

Do you have any supporting links, references, or citations?

Do you have anything more you want to share?

This also applies to:

MDN metadata

Page report details
@danielhjacobs danielhjacobs added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jul 13, 2023
@github-actions github-actions bot added the Content:WebAPI Web API docs label Jul 13, 2023
@danielhjacobs danielhjacobs changed the title List the event type for contextmenu as PointerEvent but clearly note that Firefox and Safari don't follow the standard contextmenu, click, and auxclick are PointerEvents though Firefox and Safari don't follow the standard Jul 13, 2023
@danielhjacobs danielhjacobs changed the title contextmenu, click, and auxclick are PointerEvents though Firefox and Safari don't follow the standard Note contextmenu, click, and auxclick are PointerEvents though Firefox and Safari don't follow the standard Jul 13, 2023
@Josh-Cena Josh-Cena added help wanted If you know something about this topic, we would love your help! and removed needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jul 14, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Content:WebAPI Web API docs help wanted If you know something about this topic, we would love your help!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants