I tried out event delegation and checked the eventPhase
of the event object. Surprisingly, it showed 0
meaning Event.NONE
explained as "No event is being processed at this time" as defined on Mozilla's eventPhase description.
This is true in the current Chrome, Safari, and Firefox, while IE 11 actually reported a 3
for Event.BUBBLING_PHASE
.
You can try out this jsfiddle if you want, but it is optional.
Is there a reason for it to be 0
? Is 0
actually more correct (for a reason), or is 3
actually the correct one?