[dom] Duplicated Invoking of an event target (#169)

https://dom.spec.whatwg.org/#dispatching-events

> Let eventPath be a list containing target\.
>...
> For each object in eventPath, in reverse order, if event’s stop propagation flag is unset, invoke object with event\.
> Initialize event’s eventPhase attribute to AT\_TARGET\.
> If event’s stop propagation flag is unset, invoke target with event\.

Since eventPath contains target, this will invoke the target with event twice.


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/169

Received on Saturday, 20 February 2016 04:56:24 UTC