mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 12:19:54 +00:00
LibWeb: Implement the form associated element clear algorithm
This is a method defined in the WebDriver spec, but requires access to a bunch of private fields in these classes, so this is implemented in the same manner as the reset algorithm.
This commit is contained in:
parent
fadb14d31d
commit
516f5f7008
Notes:
github-actions[bot]
2024-10-12 13:02:37 +00:00
Author: https://github.com/trflynn89
Commit: 516f5f7008
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1727
Reviewed-by: https://github.com/gmta
8 changed files with 75 additions and 1 deletions
|
@ -98,6 +98,8 @@ public:
|
|||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#concept-form-reset-control
|
||||
virtual void reset_algorithm() {};
|
||||
|
||||
virtual void clear_algorithm();
|
||||
|
||||
String form_action() const;
|
||||
WebIDL::ExceptionOr<void> set_form_action(String const&);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue