- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 15 Sep 2026 05:53:28 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 15 September 2026 12:53:32 UTC
domenic left a comment (whatwg/dom#1085)
It would be good to figure out something here, as right now there is a check in [the event handler processing algorithm](https://html.spec.whatwg.org/multipage/webappapis.html#the-event-handler-processing-algorithm) but not for event listeners in general.
This means that per spec, e.g., `el.onload = foo` will not execute `foo`, but `el.addEventListener("load", foo)` will execute it. Which is bizarre.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1085#issuecomment-5680480964
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/dom/pull/1085/c5680480964@github.com>
Received on Tuesday, 15 September 2026 12:53:32 UTC