mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Add type IDL attr for submittable elements
This commit is contained in:
parent
e048f3f940
commit
8a2c746e61
10 changed files with 66 additions and 9 deletions
|
@ -14,7 +14,7 @@ interface HTMLButtonElement : HTMLElement {
|
|||
// attribute boolean formNoValidate;
|
||||
// attribute DOMString formTarget;
|
||||
// attribute DOMString name;
|
||||
// attribute DOMString type;
|
||||
attribute DOMString type;
|
||||
// attribute DOMString value;
|
||||
// attribute HTMLMenuElement? menu;
|
||||
|
||||
|
|
|
@ -37,7 +37,7 @@ interface HTMLInputElement : HTMLElement {
|
|||
attribute unsigned long size;
|
||||
// attribute DOMString src;
|
||||
// attribute DOMString step;
|
||||
// attribute DOMString type; //XXXjdm need binaryName
|
||||
attribute DOMString type; //XXXjdm need binaryName
|
||||
// attribute DOMString defaultValue;
|
||||
[TreatNullAs=EmptyString] attribute DOMString value;
|
||||
// attribute Date? valueAsDate;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
// http://www.whatwg.org/html/#htmlobjectelement
|
||||
interface HTMLObjectElement : HTMLElement {
|
||||
// attribute DOMString data;
|
||||
// attribute DOMString type;
|
||||
attribute DOMString type;
|
||||
// attribute boolean typeMustMatch;
|
||||
// attribute DOMString name;
|
||||
// attribute DOMString useMap;
|
||||
|
|
|
@ -13,7 +13,7 @@ interface HTMLSelectElement : HTMLElement {
|
|||
// attribute boolean required;
|
||||
// attribute unsigned long size;
|
||||
|
||||
//readonly attribute DOMString type;
|
||||
readonly attribute DOMString type;
|
||||
|
||||
//readonly attribute HTMLOptionsCollection options;
|
||||
// attribute unsigned long length;
|
||||
|
|
|
@ -21,7 +21,7 @@ interface HTMLTextAreaElement : HTMLElement {
|
|||
// attribute unsigned long rows;
|
||||
// attribute DOMString wrap;
|
||||
|
||||
//readonly attribute DOMString type;
|
||||
readonly attribute DOMString type;
|
||||
// attribute DOMString defaultValue;
|
||||
//[TreatNullAs=EmptyString] attribute DOMString value;
|
||||
//readonly attribute unsigned long textLength;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue