mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
LibWeb: Register FormAssociatedElement with their owner form
This will eventually allow us to implement HTMLFormControlsCollection.
This commit is contained in:
Notes:
sideshowbarker
2024-07-18 19:19:19 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/78733417a47
@@ -57,9 +57,13 @@ public:
|
||||
void did_click_button(Badge<Layout::ButtonBox>);
|
||||
|
||||
private:
|
||||
// ^DOM::Node
|
||||
virtual void inserted() override;
|
||||
virtual void removed_from(Node*) override;
|
||||
|
||||
// ^HTML::FormAssociatedElement
|
||||
virtual HTMLElement& form_associated_element_to_html_element() override { return *this; }
|
||||
|
||||
void create_shadow_tree_if_needed();
|
||||
|
||||
RefPtr<DOM::Text> m_text_node;
|
||||
|
||||
Reference in New Issue
Block a user