1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +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:
Srikavin Ramkumar 2022-12-22 19:32:20 -05:00 committed by Andreas Kling
parent 2376385f0c
commit 7cc6ffe5b7
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;