mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 02:40:49 +00:00
LibWeb: Add missing upcalls in HTMLSelectElement
This commit is contained in:
@@ -21,11 +21,13 @@ HTMLSelectElement::~HTMLSelectElement()
|
||||
|
||||
void HTMLSelectElement::inserted()
|
||||
{
|
||||
HTMLElement::inserted();
|
||||
set_form(first_ancestor_of_type<HTMLFormElement>());
|
||||
}
|
||||
|
||||
void HTMLSelectElement::removed_from(DOM::Node*)
|
||||
void HTMLSelectElement::removed_from(DOM::Node* old_parent)
|
||||
{
|
||||
HTMLElement::removed_from(old_parent);
|
||||
set_form(nullptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user