mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Implements basic form resetting
What can this do? Reset `<input type=text>` fields back to their default value through a call to a form's reset method. That's all for now! Fixes compile error after rebase
This commit is contained in:
parent
f932a6947a
commit
f0ce2af89c
3 changed files with 96 additions and 1 deletions
|
@ -22,7 +22,7 @@ interface HTMLFormElement : HTMLElement {
|
|||
//getter (RadioNodeList or Element) (DOMString name);
|
||||
|
||||
void submit();
|
||||
//void reset();
|
||||
void reset();
|
||||
//boolean checkValidity();
|
||||
//boolean reportValidity();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue