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:
Timothy Flynn
2024-10-11 10:38:43 -04:00
committed by Andreas Kling
parent fadb14d31d
commit 516f5f7008
8 changed files with 75 additions and 1 deletions

View File

@@ -179,6 +179,7 @@ public:
bool is_single_line() const;
virtual void reset_algorithm() override;
virtual void clear_algorithm() override;
virtual void form_associated_element_was_inserted() override;
virtual void form_associated_element_was_removed(DOM::Node*) override;