mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-01 05:39:11 +00:00
LibWeb: Move automatic browsing context creation to HTMLIFrameElement
We will soon have two DOM nodes which contain nested browsing contexts: HTMLIFrameElement and HTMLObjectElement. Only HTMLIFrameElement should have its nested context created automatically upon insertion, so move the invocation of that logic to HTMLIFrameElement.
This commit is contained in:
parent
5608bc4eaf
commit
f733385cc4
Notes:
sideshowbarker
2024-07-17 16:51:01 +09:00
Author: https://github.com/trflynn89
Commit: f733385cc4
Pull-request: https://github.com/SerenityOS/serenity/pull/13222
4 changed files with 50 additions and 19 deletions
|
@ -21,6 +21,7 @@ public:
|
|||
|
||||
private:
|
||||
virtual void inserted() override;
|
||||
virtual void removed_from(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