LibWeb: Implement HTMLFormElement::reset

This patch sets up the necessary infrastructure for implementing reset
algorithms for form-associated controls.
This commit is contained in:
Srikavin Ramkumar 2022-12-22 19:32:20 -05:00 committed by Andreas Kling
commit 7cc6ffe5b7
Notes: sideshowbarker 2024-07-17 02:14:16 +09:00
4 changed files with 51 additions and 0 deletions

View file

@ -11,6 +11,7 @@ interface HTMLFormElement : HTMLElement {
[Reflect=novalidate] attribute boolean noValidate;
undefined submit();
[CEReactions] undefined reset();
// FIXME: Should be a HTMLFormControlsCollection
[SameObject] readonly attribute HTMLCollection elements;