mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
LibWeb: Defer creation of subframes until host element is connected
This allows parsing of document fragments with "<iframe>" to construct the iframe element without requiring that the fragment have a frame.
This commit is contained in:
parent
57ead17d54
commit
5c67b2cb8f
4 changed files with 22 additions and 2 deletions
|
@ -40,6 +40,7 @@ public:
|
|||
virtual RefPtr<Layout::Node> create_layout_node() override;
|
||||
|
||||
private:
|
||||
virtual void inserted_into(Node&) override;
|
||||
virtual void parse_attribute(const FlyString& name, const String& value) override;
|
||||
|
||||
void load_src(const String&);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue