2.1.2 [DOM Level 2 - Events] Section 1.2.2, Event capture

V0003:

The specification states:

 An EventListener being registered on an EventTarget may choose to have that 
 EventListener capture events by specifying the useCapture parameter of the 
 addEventListener method to be true.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The addEventListener method is not supported. The attachEvent method is similar but does not include a useCapture parameter.

V0004:

The specification states:

 A capturing EventListener will not be triggered by events dispatched directly to 
 the EventTarget upon which it is registered.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The capture phase of the event flow is not supported.

IE9 Mode, IE10 Mode, IE11 Mode, and EdgeHTML Mode (All Versions)

A capturing EventListener object is triggered by events that are dispatched directly to the EventTarget object upon which it is registered. Capturing event listeners are triggered first, followed by bubbling event listeners.

V0005:

The specification states:

 If the capturing EventListener wishes to prevent further processing of the event 
 from occurring it may call the stopProgagation method of the Event interface. This 
 will prevent further dispatch of the event, although additional EventListeners 
 registered at the same hierarchy level will still receive the event. Once an 
 event's stopPropagation method has been called, further calls to that method have 
 no additional effect. If no additional capturers exist and stopPropagation has not 
 been called, the event triggers the appropriate EventListeners on the target itself.

Quirks Mode, IE7 Mode, and IE8 Mode (All Versions)

The following variations apply:

  • The stopPropagation method is not supported. Similar functionality is provided by the cancelBubble property.

  • The capture phase of the event flow is not supported.

Show: