-
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
We don't have a definition for "contextmenu" event #279
Comments
I have started documenting (also note the other hooks for PointerEvents in that document) |
@garykac It seems to me that your algorithmic rewrite could be supplemented by a |
@Herst The proposed PR makes "contextmenu" event a PointerEvent instance. So suppressing the context-menu from a touch interaction should be trivial: |
The reference to the `contextmenu` event in 4.2.12 links to the HTML spec, even though any non-editorial mentions of that event –but not the definition in the event list– were removed (apparently by mistake) in whatwg/html#2742. That event was subsequently added to the UI Events spec in w3c/uievents#279, and now the definition in the HTML spec's event list has been removed in whatwg/html#7506. This change updates the reference to link to the UI Events spec.
The reference to the `contextmenu` event in 4.2.12 links to the HTML spec, even though any non-editorial mentions of that event –but not the definition in the event list– were removed (apparently by mistake) in whatwg/html#2742. That event was subsequently added to the UI Events spec in w3c/uievents#279, and now the definition in the HTML spec's event list has been removed in whatwg/html#7506. This change updates the reference to link to the UI Events spec.
Apparently no spec defines
contextmenu
event! The event is marked as aMouseEvent
in a non-normative section in the HTML spec, that's it.As of today, it seems UI Event spec would be the place for it because the event is a MouseEvent in all major browsers. Note, however, that we are planning to change it to a PointerEvent, see w3c/pointerevents#100.
The text was updated successfully, but these errors were encountered: