Re: [whatwg/dom] Define how script-created click events are special during dispatch (#325)

Another thing I missed and discovered while discussing with @smaug---- is that bubbling matters. We agreed that looking at bubbling even for the pre-click steps was okay (as that would mean any corresponding post-canceled-click steps would always end up running too). That does not match Firefox at the moment, but it's an extreme edge case, requiring nodes to be nested in an `input` element. Doing it that way however requires finding the "activation target" only once and we no longer need multiple traversals of the event's path.

I also decided to stick with the name "activation behavior" as I doubt we're going to come up with another pattern for that kind of thing. Might as well enshrine it.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/325#issuecomment-253209501

Received on Wednesday, 12 October 2016 13:17:02 UTC