mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +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
6 changed files with 32 additions and 2 deletions
|
@ -39,7 +39,10 @@ public:
|
|||
void set_form(HTMLFormElement*);
|
||||
|
||||
protected:
|
||||
FormAssociatedElement() { }
|
||||
FormAssociatedElement() = default;
|
||||
virtual ~FormAssociatedElement() = default;
|
||||
|
||||
virtual HTMLElement& form_associated_element_to_html_element() = 0;
|
||||
|
||||
private:
|
||||
WeakPtr<HTMLFormElement> m_form;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue