aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/webidls/HTMLObjectElement.webidl
diff options
context:
space:
mode:
Diffstat (limited to 'components/script/dom/webidls/HTMLObjectElement.webidl')
-rw-r--r--components/script/dom/webidls/HTMLObjectElement.webidl22
1 files changed, 16 insertions, 6 deletions
diff --git a/components/script/dom/webidls/HTMLObjectElement.webidl b/components/script/dom/webidls/HTMLObjectElement.webidl
index ce1d0ff1f8c..9d60c4a4f92 100644
--- a/components/script/dom/webidls/HTMLObjectElement.webidl
+++ b/components/script/dom/webidls/HTMLObjectElement.webidl
@@ -1,26 +1,36 @@
/* 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 http://mozilla.org/MPL/2.0/. */
+ * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlobjectelement
+[Exposed=Window]
interface HTMLObjectElement : HTMLElement {
+ [HTMLConstructor] constructor();
+
+ // [CEReactions]
// attribute DOMString data;
+ [CEReactions]
attribute DOMString type;
+ // [CEReactions]
// attribute boolean typeMustMatch;
+ // [CEReactions]
// attribute DOMString name;
+ // [CEReactions]
// attribute DOMString useMap;
readonly attribute HTMLFormElement? form;
+ // [CEReactions]
// attribute DOMString width;
+ // [CEReactions]
// attribute DOMString height;
//readonly attribute Document? contentDocument;
//readonly attribute WindowProxy? contentWindow;
- //readonly attribute boolean willValidate;
+ readonly attribute boolean willValidate;
readonly attribute ValidityState validity;
- //readonly attribute DOMString validationMessage;
- //boolean checkValidity();
- //boolean reportValidity();
- //void setCustomValidity(DOMString error);
+ readonly attribute DOMString validationMessage;
+ boolean checkValidity();
+ boolean reportValidity();
+ void setCustomValidity(DOMString error);
//legacycaller any (any... arguments);