mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-21 01:31:55 +00:00
LibWeb: Destroy associated navigable when <object> is removed from DOM
This commit is contained in:
parent
fc0d447adb
commit
68440ed02d
Notes:
sideshowbarker
2024-07-17 03:59:29 +09:00
Author: https://github.com/kalenikaliaksandr
Commit: 68440ed02d
Pull-request: https://github.com/SerenityOS/serenity/pull/23996
2 changed files with 6 additions and 0 deletions
|
@ -68,6 +68,11 @@ void HTMLObjectElement::form_associated_element_attribute_changed(FlyString cons
|
|||
}
|
||||
}
|
||||
|
||||
void HTMLObjectElement::form_associated_element_was_removed(DOM::Node*)
|
||||
{
|
||||
destroy_the_child_navigable();
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#attr-object-data
|
||||
String HTMLObjectElement::data() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue