summaryrefslogtreecommitdiffstats
path: root/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl
diff options
context:
space:
mode:
Diffstat (limited to 'dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl')
-rw-r--r--dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl30
1 files changed, 30 insertions, 0 deletions
diff --git a/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl b/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl
new file mode 100644
index 000000000..99c533554
--- /dev/null
+++ b/dom/interfaces/html/nsIDOMHTMLMenuItemElement.idl
@@ -0,0 +1,30 @@
+/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/* 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/. */
+
+#include "nsIDOMHTMLElement.idl"
+
+/**
+ * The nsIDOMHTMLMenuItemElement interface is the interface to a HTML
+ * <menuitem> element.
+ */
+
+[uuid(979d6e44-5930-4232-b405-873939655c19)]
+interface nsIDOMHTMLMenuItemElement : nsISupports
+{
+ attribute DOMString type;
+ attribute DOMString label;
+ attribute DOMString icon;
+ attribute boolean disabled;
+
+ // This should be 'default' but in the IDL implementation
+ // this has been renamed 'defaultChecked'.
+ attribute boolean defaultChecked;
+
+ attribute boolean checked;
+ attribute DOMString radiogroup;
+
+ // Currently not implemented.
+ // readonly attribute HTMLElement? command;
+};