aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_bindings/webidls/HTMLOutputElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script_bindings/webidls/HTMLOutputElement.webidl')
-rw-r--r--components/script_bindings/webidls/HTMLOutputElement.webidl29
1 files changed, 29 insertions, 0 deletions
diff --git a/components/script_bindings/webidls/HTMLOutputElement.webidl b/components/script_bindings/webidls/HTMLOutputElement.webidl
new file mode 100644
index 00000000000..403938ad8f8
--- /dev/null
+++ b/components/script_bindings/webidls/HTMLOutputElement.webidl
@@ -0,0 +1,29 @@
+/* This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
+
+// https://html.spec.whatwg.org/multipage/#htmloutputelement
+[Exposed=Window]
+interface HTMLOutputElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
+ // [SameObject, PutForwards=value] readonly attribute DOMTokenList htmlFor;
+ readonly attribute HTMLFormElement? form;
+ [CEReactions]
+ attribute DOMString name;
+
+ [Pure] readonly attribute DOMString type;
+ [CEReactions]
+ attribute DOMString defaultValue;
+ [CEReactions]
+ attribute DOMString value;
+
+ readonly attribute boolean willValidate;
+ readonly attribute ValidityState validity;
+ readonly attribute DOMString validationMessage;
+ boolean checkValidity();
+ boolean reportValidity();
+ undefined setCustomValidity(DOMString error);
+
+ readonly attribute NodeList labels;
+};