diff --git a/sections/event-types.txt b/sections/event-types.txt index a2c51db..37a2490 100644 --- a/sections/event-types.txt +++ b/sections/event-types.txt @@ -1510,6 +1510,51 @@ myDiv.addEventListener("auxclick", function(e) { before or after the EVENT{mouseup} event.

+
contextmenudismiss
+ + ++------------------+--------------------------------------------------------------------------------------+ event-definition + =| % | | + +------------------+--------------------------------------------------------------------------------------+ + +| Type | contextmenudismiss | + +| Interface | {{PointerEvent}} | + +| Sync / Async | Async | + +| Bubbles | Yes | + +| Trusted Targets | Element | + +| Cancelable | No | + +| Composed | Yes | + +| Default action | None | + +| Context
| | + ++------------------+--------------------------------------------------------------------------------------+ + + A user agent MUST dispatch this event before closing a context menu. + If the system context menu has been suppressed by canceling the + EVENT{contextmenu} event, the user agent still MUST dispatch this + event to allow the page script to close a custom context menu under the same + condition like a system context menu. + + Every EVENT{contextmenu} event MUST be followed by a corresponding + EVENT{contextmenudismiss} event with an identical + {{Event}}.{{Event/target}}. However, if the target of the + EVENT{contextmenu} event has been removed from DOM before firing the + EVENT{contextmenudismiss} event, the latter will be fired to the HTML + body element. +
dblclick
++------------------+--------------------------------------------------------------------------------------+ event-definition