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

I created #342 to address this. What I'd like feedback on:

* `label` elements seem to require looking at the event's target to determine their "activation behavior" (as HTML currently calls it). I guess that means we should at least pass the target along to the algorithm?
* The pre-click-dispatch steps are quite exceptional and only used by two elements, but post-click-dispatch ("activiation behavior" in HTML today) is quite universal. Perhaps we shouldn't call the latter legacy? It seems any new element with activation behavior should probably be triggered the same way. Or not?

I also noticed that irrespective of whether the event's canceled flag is set, we need to run some steps. So we should probably have both post-click-dispatch steps and post-canceled-click-dispatch steps. Good times.

Anything else I missed?

-- 
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-252981271

Received on Tuesday, 11 October 2016 17:11:24 UTC