Re: [dom] Fixes #156. Add legacy event type check to invoke algorithm. (#168)

I don't think this approach works. Because if you abort the steps and run them again event's type will have changed and you'll override the variable.

What you want to do is make the loop that is happening in step 5 of invoke reusable. First run it for the normal case. Then if nothing got invoked, run it again with the changed type. Does that make sense?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/168#issuecomment-185084883

Received on Wednesday, 17 February 2016 07:55:24 UTC