mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:37:35 +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:
parent
b71c1851b7
commit
24162127ba
2 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue