mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb/HTML: Use DOM's post connection steps for <script> elements
This aligns our behaviour with WebKit and Chrome. See: https://github.com/whatwg/html/commit/ddd2d0dd
This commit is contained in:
committed by
Luke Wilde
parent
02efb64e64
commit
0a216f9c14
Notes:
github-actions[bot]
2024-12-10 10:39:52 +00:00
Author: https://github.com/shannonbooth Commit: https://github.com/LadybirdBrowser/ladybird/commit/0a216f9c147 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2863 Reviewed-by: https://github.com/Lubrsi ✅
@@ -43,7 +43,8 @@ public:
|
||||
|
||||
bool is_parser_inserted() const { return !!m_parser_document; }
|
||||
|
||||
virtual void inserted() override;
|
||||
virtual void children_changed() override;
|
||||
virtual void post_connection() override;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/scripting.html#dom-script-supports
|
||||
static bool supports(JS::VM&, StringView type)
|
||||
|
||||
Reference in New Issue
Block a user