1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 12:25:06 +00:00

LibWeb: Implement HTMLFormElement.requestSubmit()

This can be used to submit a form using a specific submit button.
This commit is contained in:
Tim Ledbetter 2024-02-15 18:29:53 +00:00 committed by Tim Flynn
parent 94149db073
commit 816d24f647
5 changed files with 72 additions and 1 deletions

View file

@ -25,7 +25,7 @@ interface HTMLFormElement : HTMLElement {
getter (RadioNodeList or Element) (DOMString name);
undefined submit();
// FIXME: undefined requestSubmit(optional HTMLElement? submitter = null);
undefined requestSubmit(optional HTMLElement? submitter = null);
[CEReactions] undefined reset();
boolean checkValidity();
boolean reportValidity();