Files
ladybird/Libraries/LibWeb/DOM/EventTarget.cpp
Shannon Booth 29033939f3 LibWeb/DOM: Prefix inline event handler source text with "on"
EventTarget stores event handler entries under bare event names like
click and error, because those keys are also used in places that need
the event type rather than the IDL/content-attribute spelling.

That means we cannot only reuse the stored key when synthesizing the
function source for inline handlers. To handle this, prefix the name
with "on".
2026-05-08 15:49:01 +01:00

41 KiB