Files
ladybird/Libraries/LibWeb/HTML/HTMLScriptElement.cpp
Shannon Booth 27436c3971 LibWeb/HTML: Do not run script on child removal
Matching the behaviour of the other big three browser engines,
also tested by WPT, but does not appear to be explicitly specified.

I also noticed when investigating that browser engines disagree
about whether a child mutation should trigger script execution.
For this, I've just gone with the behaviour of Webkit/Chromium of
not running script.
2026-03-19 09:46:54 +01:00

40 KiB