summaryrefslogtreecommitdiff
path: root/Source/WebCore/html/HTMLFormElement.idl
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLFormElement.idl
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/html/HTMLFormElement.idl')
-rw-r--r--Source/WebCore/html/HTMLFormElement.idl32
1 files changed, 15 insertions, 17 deletions
diff --git a/Source/WebCore/html/HTMLFormElement.idl b/Source/WebCore/html/HTMLFormElement.idl
index 8493f7ad8..4d4b533b7 100644
--- a/Source/WebCore/html/HTMLFormElement.idl
+++ b/Source/WebCore/html/HTMLFormElement.idl
@@ -19,31 +19,29 @@
*/
[
- CustomNamedGetter,
+ LegacyUnenumerableNamedProperties,
+ OverrideBuiltins,
+ JSGenerateToNativeObject,
] interface HTMLFormElement : HTMLElement {
[Reflect=accept_charset] attribute DOMString acceptCharset;
- [Reflect, URL] attribute DOMString action;
- [Reflect] attribute DOMString autocomplete;
- [TreatNullAs=NullString] attribute DOMString enctype;
- [TreatNullAs=NullString] attribute DOMString encoding;
- [TreatNullAs=NullString] attribute DOMString method;
+ [Reflect, URL] attribute USVString action;
+ attribute DOMString autocomplete;
+ attribute DOMString enctype;
+ [ImplementedAs=enctype] attribute DOMString encoding;
+ attribute DOMString method;
[Reflect] attribute DOMString name;
[Reflect] attribute boolean noValidate;
[Reflect] attribute DOMString target;
- readonly attribute HTMLCollection elements;
- readonly attribute long length;
+ readonly attribute HTMLFormControlsCollection elements;
+ readonly attribute unsigned long length;
+ getter Element? (unsigned long index);
+ getter (RadioNodeList or Element)? (DOMString name);
- getter Element (unsigned long index);
-
- [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE] attribute boolean autocorrect;
- [Conditional=IOS_AUTOCORRECT_AND_AUTOCAPITALIZE, TreatNullAs=NullString] attribute DOMString autocapitalize;
-
-#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
[ImplementedAs=submitFromJavaScript] void submit();
-#else
- void submit();
-#endif
void reset();
boolean checkValidity();
+ [EnabledAtRuntime=InteractiveFormValidation] boolean reportValidity();
+
+ [Conditional=REQUEST_AUTOCOMPLETE] void requestAutocomplete();
};