michael@0: /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsIDOMHTMLElement.idl" michael@0: michael@0: /** michael@0: * The nsIDOMHTMLMenuItemElement interface is the interface to a HTML michael@0: * element. michael@0: */ michael@0: michael@0: [scriptable, uuid(979d6e44-5930-4232-b405-873939655c19)] michael@0: interface nsIDOMHTMLMenuItemElement : nsISupports michael@0: { michael@0: attribute DOMString type; michael@0: attribute DOMString label; michael@0: attribute DOMString icon; michael@0: attribute boolean disabled; michael@0: michael@0: // This should be 'default' but in the IDL implementation michael@0: // this has been renamed 'defaultChecked'. michael@0: attribute boolean defaultChecked; michael@0: michael@0: attribute boolean checked; michael@0: attribute DOMString radiogroup; michael@0: michael@0: // Currently not implemented. michael@0: // readonly attribute HTMLElement? command; michael@0: };