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:
Matthew Rasmus 2014-11-27 15:48:01 -08:00
parent f932a6947a
commit f0ce2af89c
3 changed files with 96 additions and 1 deletions

View file

@ -22,7 +22,7 @@ interface HTMLFormElement : HTMLElement {
//getter (RadioNodeList or Element) (DOMString name);
void submit();
//void reset();
void reset();
//boolean checkValidity();
//boolean reportValidity();