mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-28 23:39:02 +00:00
LibWeb: Add missing calls to Base::children_changed
Also making sure that it is called at the top of the implementation for consistency.
This commit is contained in:
parent
22a7cd9700
commit
14eb081af8
Notes:
github-actions[bot]
2025-01-27 00:11:37 +00:00
Author: https://github.com/shannonbooth
Commit: 14eb081af8
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3368
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/tcl3 ✅
5 changed files with 8 additions and 2 deletions
Libraries/LibWeb/HTML
|
@ -574,6 +574,8 @@ void HTMLScriptElement::prepare_script()
|
|||
// https://html.spec.whatwg.org/multipage/scripting.html#script-processing-model:html-element-post-connection-steps-4
|
||||
void HTMLScriptElement::children_changed()
|
||||
{
|
||||
Base::children_changed();
|
||||
|
||||
// 1. Run the script HTML element post-connection steps, given the script element.
|
||||
post_connection();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue