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

I talked about this a while back with @smaug----. https://dom.spec.whatwg.org/#concept-event-dispatch uses "get the parent" to determine where to invoke listeners. Something similar is used at the end of dispatch. https://www.w3.org/Bugs/Public/show_bug.cgi?id=12230#c29 also explains this. That is what we should use here and we should only do it if the canceled flag is not set.

Then we can let specifications define "legacy post-dispatch steps" for objects that need them (only `<a>`?). (I don't want to call it "default action", not even prefixed with "legacy". I think that would continue to cause much confusion.)

Does anyone see problems with that?

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

Received on Thursday, 15 September 2016 14:10:55 UTC