1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 16:17:45 +00:00

LibWeb: Dispatch "load" on document and window

These happen right after "DOMContentLoaded" for now, which is incorrect
since they should really wait until subresources have loaded.
However, this makes a bunch of things work already so let's do it.
This commit is contained in:
Andreas Kling 2020-10-18 13:45:28 +02:00
parent b71c1851b7
commit 24162127ba
2 changed files with 7 additions and 0 deletions

View file

@ -193,6 +193,8 @@ public:
void removed_last_ref();
Window& window() { return *m_window; }
private:
virtual RefPtr<LayoutNode> create_layout_node(const CSS::StyleProperties* parent_style) override;