Re: [whatwg/dom] Allow other specs to add event listeners ergonomically (#878)

Gecko has "system event group", which can be used to implement default handling (as an example) using event listeners.  Listeners in that group are called after the listeners in the default group - there is a separate event propagation for system group, all the listeners in the default group in all the targets are called first.

But usually default handling is implemented using internal (c++) PostHandleEvent callback. And there are native callbacks for pre-handling too (needed for example for checkbox). And we have WindowRoot on top of the Window in the event path etc, so there is plenty of flexibility.

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

Message ID: <whatwg/dom/issues/878/1534368354@github.com>

Received on Thursday, 4 May 2023 09:14:42 UTC