mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-03 04:52:06 +02:00
LibWeb: Destroy associated navigable when <object> is removed from DOM
This commit is contained in:
committed by
Alexander Kalenik
parent
fc0d447adb
commit
68440ed02d
Notes:
sideshowbarker
2024-07-17 03:59:29 +09:00
Author: https://github.com/kalenikaliaksandr Commit: https://github.com/SerenityOS/serenity/commit/68440ed02d Pull-request: https://github.com/SerenityOS/serenity/pull/23996
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user