mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 07:07:34 +00:00
LibWeb: Simplify <iframe> content frame construction
Now that documents are attached to their frame *before* parsing, we can create the content frame of <iframe> elements right away, instead of waiting for the host frame attachment. Fixes #4408.
This commit is contained in:
parent
b861de0a13
commit
34d0141da3
4 changed files with 7 additions and 25 deletions
|
@ -147,9 +147,6 @@ public:
|
|||
|
||||
bool is_link() const;
|
||||
|
||||
virtual void document_did_attach_to_frame(Frame&) { }
|
||||
virtual void document_will_detach_from_frame(Frame&) { }
|
||||
|
||||
void set_document(Badge<Document>, Document&);
|
||||
|
||||
virtual EventTarget* get_parent(const Event&) override;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue