mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00:00
LibWeb: Register FormAssociatedElement with their owner form
This will eventually allow us to implement HTMLFormControlsCollection.
This commit is contained in:
parent
e454e1a45d
commit
78733417a4
Notes:
sideshowbarker
2024-07-18 19:19:19 +09:00
Author: https://github.com/awesomekling
Commit: 78733417a4
6 changed files with 32 additions and 2 deletions
|
@ -42,8 +42,12 @@ public:
|
|||
virtual ~HTMLSelectElement() override;
|
||||
|
||||
private:
|
||||
// ^DOM::Node
|
||||
virtual void inserted() override;
|
||||
virtual void removed_from(DOM::Node*) override;
|
||||
|
||||
// ^HTML::FormAssociatedElement
|
||||
virtual HTMLElement& form_associated_element_to_html_element() override { return *this; }
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue