|
@@ -1,6 +1,14 @@
|
|
#import <DOM/HTMLFormControlsCollection.idl>
|
|
#import <DOM/HTMLFormControlsCollection.idl>
|
|
#import <HTML/HTMLElement.idl>
|
|
#import <HTML/HTMLElement.idl>
|
|
|
|
|
|
|
|
+// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#attr-fs-enctype
|
|
|
|
+[MissingValueDefault=application/x-www-form-urlencoded, InvalidValueDefault=application/x-www-form-urlencoded]
|
|
|
|
+enum EnctypeAttribute {
|
|
|
|
+ "application/x-www-form-urlencoded",
|
|
|
|
+ "multipart/form-data",
|
|
|
|
+ "text/plain"
|
|
|
|
+};
|
|
|
|
+
|
|
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
|
|
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
|
|
[Exposed=Window, LegacyOverrideBuiltIns, LegacyUnenumerableNamedProperties]
|
|
[Exposed=Window, LegacyOverrideBuiltIns, LegacyUnenumerableNamedProperties]
|
|
interface HTMLFormElement : HTMLElement {
|
|
interface HTMLFormElement : HTMLElement {
|
|
@@ -10,7 +18,7 @@ interface HTMLFormElement : HTMLElement {
|
|
[CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
|
|
[CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
|
|
[CEReactions] attribute USVString action;
|
|
[CEReactions] attribute USVString action;
|
|
[FIXME, CEReactions] attribute DOMString autocomplete;
|
|
[FIXME, CEReactions] attribute DOMString autocomplete;
|
|
- [FIXME, CEReactions] attribute DOMString enctype;
|
|
|
|
|
|
+ [CEReactions, Enumerated=EnctypeAttribute, Reflect] attribute DOMString enctype;
|
|
[FIXME, CEReactions] attribute DOMString encoding;
|
|
[FIXME, CEReactions] attribute DOMString encoding;
|
|
[CEReactions] attribute DOMString method;
|
|
[CEReactions] attribute DOMString method;
|
|
[CEReactions, Reflect] attribute DOMString name;
|
|
[CEReactions, Reflect] attribute DOMString name;
|