LibWeb: Add the submit event to HTMLFormElement

Also adds the ability to submit from JavaScript.
This commit is contained in:
Luke
2020-11-21 21:53:18 +00:00
committed by Andreas Kling
parent 9950270808
commit 773df8826d
10 changed files with 120 additions and 4 deletions

View File

@@ -5,4 +5,6 @@ interface HTMLFormElement : HTMLElement {
[Reflect=accept-charset] attribute DOMString acceptCharset;
[Reflect=novalidate] attribute boolean noValidate;
void submit();
}