Index: core/html/HTMLFormElement.idl |
diff --git a/core/html/HTMLFormElement.idl b/core/html/HTMLFormElement.idl |
index 36db8c9c442c1261d9590f80ad2b35b3d744cb64..cbd2500f41fb9860586011603cef3a69d8bfc3ef 100644 |
--- a/core/html/HTMLFormElement.idl |
+++ b/core/html/HTMLFormElement.idl |
@@ -18,6 +18,8 @@ |
* Boston, MA 02110-1301, USA. |
*/ |
+// https://html.spec.whatwg.org/#the-form-element |
+ |
[ |
OverrideBuiltins, |
] interface HTMLFormElement : HTMLElement { |
@@ -31,14 +33,16 @@ |
[Reflect] attribute boolean noValidate; |
[Reflect] attribute DOMString target; |
- readonly attribute HTMLCollection elements; |
+ readonly attribute HTMLFormControlsCollection elements; |
readonly attribute long length; |
[ImplementedAs=item] getter Element (unsigned long index); |
+ // FIXME: This getter should not have [NotEnumerable]. |
[NotEnumerable] getter (RadioNodeList or Element) (DOMString name); |
[ImplementedAs=submitFromJavaScript] void submit(); |
[CustomElementCallbacks] void reset(); |
boolean checkValidity(); |
+ boolean reportValidity(); |
[RuntimeEnabled=RequestAutocomplete] void requestAutocomplete(); |
}; |