mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 857116 - Remove nsIDOMHTMLCommandElement; r=Ms2ger
This commit is contained in:
parent
697a26b74f
commit
a27986faf9
@ -177,8 +177,7 @@ NS_IMPL_RELEASE_INHERITED(HTMLMenuItemElement, Element)
|
||||
// QueryInterface implementation for HTMLMenuItemElement
|
||||
NS_INTERFACE_TABLE_HEAD(HTMLMenuItemElement)
|
||||
NS_HTML_CONTENT_INTERFACES(nsGenericHTMLElement)
|
||||
NS_INTERFACE_TABLE_INHERITED2(HTMLMenuItemElement,
|
||||
nsIDOMHTMLCommandElement,
|
||||
NS_INTERFACE_TABLE_INHERITED1(HTMLMenuItemElement,
|
||||
nsIDOMHTMLMenuItemElement)
|
||||
NS_INTERFACE_TABLE_TO_MAP_SEGUE
|
||||
NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
@ -39,9 +39,6 @@ public:
|
||||
// nsIDOMHTMLElement
|
||||
NS_FORWARD_NSIDOMHTMLELEMENT_TO_GENERIC
|
||||
|
||||
// nsIDOMHTMLCommandElement
|
||||
NS_DECL_NSIDOMHTMLCOMMANDELEMENT
|
||||
|
||||
// nsIDOMHTMLMenuItemElement
|
||||
NS_DECL_NSIDOMHTMLMENUITEMELEMENT
|
||||
|
||||
|
@ -16,7 +16,6 @@ XPIDL_SOURCES += [
|
||||
'nsIDOMHTMLByteRanges.idl',
|
||||
'nsIDOMHTMLCanvasElement.idl',
|
||||
'nsIDOMHTMLCollection.idl',
|
||||
'nsIDOMHTMLCommandElement.idl',
|
||||
'nsIDOMHTMLDListElement.idl',
|
||||
'nsIDOMHTMLDataListElement.idl',
|
||||
'nsIDOMHTMLDirectoryElement.idl',
|
||||
|
@ -1,28 +0,0 @@
|
||||
/* -*- 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 nsIDOMHTMLCommandElement interface is the interface to a HTML
|
||||
* <command> element.
|
||||
*
|
||||
* For more information on this interface, please see
|
||||
* http://www.whatwg.org/specs/web-apps/current-work/#the-command-element
|
||||
*
|
||||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(b580f607-6cd8-4bab-8ac5-698208b99e1b)]
|
||||
interface nsIDOMHTMLCommandElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString type;
|
||||
attribute DOMString label;
|
||||
attribute DOMString icon;
|
||||
attribute boolean disabled;
|
||||
attribute boolean defaultChecked;
|
||||
attribute boolean checked;
|
||||
attribute DOMString radiogroup;
|
||||
};
|
@ -3,16 +3,28 @@
|
||||
* 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 "nsIDOMHTMLCommandElement.idl"
|
||||
#include "nsIDOMHTMLElement.idl"
|
||||
|
||||
/**
|
||||
* The nsIDOMHTMLMenuItemElement interface is the interface to a HTML
|
||||
* <menuitem> element.
|
||||
*
|
||||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(7f449325-b250-478a-bd2c-d0986256763e)]
|
||||
interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLCommandElement
|
||||
[scriptable, uuid(53180e95-90af-4c6e-9d16-34fa799f84d5)]
|
||||
interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLElement
|
||||
{
|
||||
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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user