diff --git a/index.html b/index.html index 73c6e11..b006351 100644 --- a/index.html +++ b/index.html @@ -388,142 +388,145 @@
false
for isPrimary
.PointerEvent
interfaceTo fire a pointer event name e means to fire an event named e as defined in [[!DOM4]] with an event using the PointerEvent interface whose attributes are set as defined in PointerEvent
Interface.
Initialize the bubbles
attribute for the event to true
if the event name is
pointerdown
pointerup
pointercancel
pointermove
pointerover
pointerout
gotpointercapture
lostpointercapture
Initialize the cancelable
attribute for the event to true
if the event name is
+
pointerdown
pointerup
pointermove
pointerover
pointerout
The target object at which the event is fired is determined as follows: +
relatedTarget
attribute of the event to null
.Whenever a user agent is to fire a Pointer Event that is not gotpointercapture
or lostpointercapture
, it must first run these steps:
lostpointercapture
at the pointer capture target override node.
+ pointerover
and a pointer event named pointerenter
at the hit test node.gotpointercapture
at the pending pointer capture target override.
+ pointerover
and pointerenter
events, then fire a pointer event named pointerout
and a pointer event named pointerleave
at the hit test node.PointerEvent
interfaceTo fire a pointer event name e means to fire an event named e as defined in [[!DOM4]] with an event using the PointerEvent interface whose attributes are set as defined in PointerEvent
Interface.
Initialize the bubbles
attribute for the event to true
if the event name is
pointerdown
pointerup
pointercancel
pointermove
pointerover
pointerout
gotpointercapture
lostpointercapture
Initialize the cancelable
attribute for the event to true
if the event name is
-
pointerdown
pointerup
pointermove
pointerover
pointerout
The target object at which the event is fired is determined as follows: -
relatedTarget
attribute of the event to null
.Whenever a user agent is to fire a Pointer Event that is not gotpointercapture
or lostpointercapture
, it must first run these steps:
lostpointercapture
at the pointer capture target override node.
- pointerover
and a pointer event named pointerenter
at the hit test node.gotpointercapture
at the pending pointer capture target override.
- pointerover
and pointerenter
events, then fire a pointer event named pointerout
and a pointer event named pointerleave
at the hit test node.The following table provides a summary of the event types defined in this specification.
+Event Type | Sync/Async | Bubbles | Cancelable | Default Action |
---|---|---|---|---|
pointerover |
+ Sync | +Yes | +Yes | +None | +
pointerenter |
+ Sync | +No | +No | +None | +
pointerdown |
+ Sync | +Yes | +Yes | +Varies: when the pointer is primary, all default actions of the mousedown event
+ Canceling this event also sets the PREVENT MOUSE EVENT flag for this pointerType , which prevents subsequent firing of certain compatibility mouse events. |
+
pointermove |
+ Sync | +Yes | +Yes | +Varies: when the pointer is primary, all default actions of mousemove |
+
pointerup |
+ Sync | +Yes | +Yes | +Varies: when the pointer is primary, all default actions of mouseup |
+
pointercancel |
+ Sync | +Yes | +No | +None | +
pointerout |
+ Sync | +Yes | +Yes | +None | +
pointerleave |
+ Sync | +No | +No | +None | +
gotpointercapture |
+ Sync/Async | +Yes | +No | +None | +
lostpointercapture |
+ Sync/Async | +Yes | +No | +None | +
In the case of the primary pointer, these events (with the exception of gotpointercapture
, and lostpointercapture
) may also fire compatibility mouse events.
The following table provides a summary of the event types defined in this specification.
-Event Type | Sync/Async | Bubbles | Cancelable | Default Action |
---|---|---|---|---|
pointerover |
- Sync | -Yes | -Yes | -None | -
pointerenter |
- Sync | -No | -No | -None | -
pointerdown |
- Sync | -Yes | -Yes | -Varies: when the pointer is primary, all default actions of the mousedown event
- Canceling this event also sets the PREVENT MOUSE EVENT flag for this pointerType , which prevents subsequent firing of certain compatibility mouse events. |
-
pointermove |
- Sync | -Yes | -Yes | -Varies: when the pointer is primary, all default actions of mousemove |
-
pointerup |
- Sync | -Yes | -Yes | -Varies: when the pointer is primary, all default actions of mouseup |
-
pointercancel |
- Sync | -Yes | -No | -None | -
pointerout |
- Sync | -Yes | -Yes | -None | -
pointerleave |
- Sync | -No | -No | -None | -
gotpointercapture |
- Sync/Async | -Yes | -No | -None | -
lostpointercapture |
- Sync/Async | -Yes | -No | -None | -
In the case of the primary pointer, these events (with the exception of gotpointercapture
, and lostpointercapture
) may also fire compatibility mouse events.
pointerover
eventA user agent MUST fire a pointer event named pointerover
when a pointing device is moved into the hit test boundaries of an element. A user agent MUST also fire this event prior to firing a pointerdown
event for devices that do not support hover (see pointerdown
).