w3c / uievents

UI Events
https://w3c.github.io/uievents/
Other
147 stars 52 forks source link

New `contextmenu` event definition missing bypass #336

Open pheki opened 1 year ago

pheki commented 1 year ago

Hi!

Before 2017 the WHATWG spec used to specify that User Agents could bypass the contextmenu event to ensure that the user can always access the default context menu, see https://github.com/whatwg/html/issues/6433

Since then the contextmenu event was defined in #316, but it's now missing the possibility of bypass.

This is also implemented in Gecko. It can be verified by opening #316's test page and holding shift while right clicking in Firefox.