mirror of
https://github.com/servo/servo
synced 2026-05-05 06:32:13 +02:00
Add type IDL attr for submittable elements
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user