mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00:00
LibWeb: Implement HTMLFormElement::reset
This patch sets up the necessary infrastructure for implementing reset algorithms for form-associated controls.
This commit is contained in:
parent
2376385f0c
commit
7cc6ffe5b7
4 changed files with 51 additions and 0 deletions
|
@ -65,6 +65,9 @@ public:
|
|||
|
||||
virtual HTMLElement& form_associated_element_to_html_element() = 0;
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-form-reset-control
|
||||
virtual void reset_algorithm() {};
|
||||
|
||||
protected:
|
||||
FormAssociatedElement() = default;
|
||||
virtual ~FormAssociatedElement() = default;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue