add Form related attribute to HTMLButtonElement

add formAction, formEnctype, formMethod, formTarget
This commit is contained in:
yodalee 2015-01-28 03:34:55 +08:00
parent a026ccd4bb
commit 15231db7d3
2 changed files with 21 additions and 4 deletions

View file

@ -8,11 +8,11 @@ interface HTMLButtonElement : HTMLElement {
// attribute boolean autofocus;
attribute boolean disabled;
//readonly attribute HTMLFormElement? form;
// attribute DOMString formAction;
// attribute DOMString formEnctype;
// attribute DOMString formMethod;
attribute DOMString formAction;
attribute DOMString formEnctype;
attribute DOMString formMethod;
// attribute boolean formNoValidate;
// attribute DOMString formTarget;
attribute DOMString formTarget;
// attribute DOMString name;
attribute DOMString type;
// attribute DOMString value;