mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 893117: Remove nsIDOMHTMLParamElement r=bz
This commit is contained in:
parent
4bdec1896b
commit
29e80e44e4
@ -34,8 +34,7 @@ NS_IMPL_RELEASE_INHERITED(HTMLSharedElement, Element)
|
||||
// QueryInterface implementation for HTMLSharedElement
|
||||
NS_INTERFACE_MAP_BEGIN(HTMLSharedElement)
|
||||
NS_HTML_CONTENT_INTERFACES_AMBIGUOUS(nsGenericHTMLElement,
|
||||
nsIDOMHTMLParamElement)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLParamElement, param)
|
||||
nsIDOMHTMLBaseElement)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLBaseElement, base)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLDirectoryElement, dir)
|
||||
NS_INTERFACE_MAP_ENTRY_IF_TAG(nsIDOMHTMLQuoteElement, q)
|
||||
@ -47,12 +46,6 @@ NS_ELEMENT_INTERFACE_MAP_END
|
||||
|
||||
NS_IMPL_ELEMENT_CLONE(HTMLSharedElement)
|
||||
|
||||
// nsIDOMHTMLParamElement
|
||||
NS_IMPL_STRING_ATTR(HTMLSharedElement, Name, name)
|
||||
NS_IMPL_STRING_ATTR(HTMLSharedElement, Type, type)
|
||||
NS_IMPL_STRING_ATTR(HTMLSharedElement, Value, value)
|
||||
NS_IMPL_STRING_ATTR(HTMLSharedElement, ValueType, valuetype)
|
||||
|
||||
// nsIDOMHTMLQuoteElement
|
||||
NS_IMPL_URI_ATTR(HTMLSharedElement, Cite, cite)
|
||||
|
||||
|
@ -6,7 +6,6 @@
|
||||
#ifndef mozilla_dom_HTMLSharedElement_h
|
||||
#define mozilla_dom_HTMLSharedElement_h
|
||||
|
||||
#include "nsIDOMHTMLParamElement.h"
|
||||
#include "nsIDOMHTMLBaseElement.h"
|
||||
#include "nsIDOMHTMLDirectoryElement.h"
|
||||
#include "nsIDOMHTMLQuoteElement.h"
|
||||
@ -23,7 +22,6 @@ namespace mozilla {
|
||||
namespace dom {
|
||||
|
||||
class HTMLSharedElement MOZ_FINAL : public nsGenericHTMLElement,
|
||||
public nsIDOMHTMLParamElement,
|
||||
public nsIDOMHTMLBaseElement,
|
||||
public nsIDOMHTMLDirectoryElement,
|
||||
public nsIDOMHTMLQuoteElement,
|
||||
@ -49,9 +47,6 @@ public:
|
||||
// nsIDOMHTMLElement
|
||||
NS_FORWARD_NSIDOMHTMLELEMENT_TO_GENERIC
|
||||
|
||||
// nsIDOMHTMLParamElement
|
||||
NS_DECL_NSIDOMHTMLPARAMELEMENT
|
||||
|
||||
// nsIDOMHTMLBaseElement
|
||||
NS_DECL_NSIDOMHTMLBASEELEMENT
|
||||
|
||||
@ -95,7 +90,7 @@ public:
|
||||
|
||||
virtual nsIDOMNode* AsDOMNode() MOZ_OVERRIDE
|
||||
{
|
||||
return static_cast<nsIDOMHTMLParamElement*>(this);
|
||||
return static_cast<nsIDOMHTMLBaseElement*>(this);
|
||||
}
|
||||
|
||||
// WebIDL API
|
||||
|
@ -46,7 +46,6 @@ XPIDL_SOURCES += [
|
||||
'nsIDOMHTMLOptionElement.idl',
|
||||
'nsIDOMHTMLOptionsCollection.idl',
|
||||
'nsIDOMHTMLParagraphElement.idl',
|
||||
'nsIDOMHTMLParamElement.idl',
|
||||
'nsIDOMHTMLPreElement.idl',
|
||||
'nsIDOMHTMLQuoteElement.idl',
|
||||
'nsIDOMHTMLScriptElement.idl',
|
||||
|
@ -1,26 +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 nsIDOMHTMLParamElement interface is the interface to a [X]HTML
|
||||
* param element.
|
||||
*
|
||||
* This interface is trying to follow the DOM Level 2 HTML specification:
|
||||
* http://www.w3.org/TR/DOM-Level-2-HTML/
|
||||
*
|
||||
* with changes from the work-in-progress WHATWG HTML specification:
|
||||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(f85e1b05-6dc4-442d-bea8-7cf551f9bc9f)]
|
||||
interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString name;
|
||||
attribute DOMString type;
|
||||
attribute DOMString value;
|
||||
attribute DOMString valueType;
|
||||
};
|
Loading…
Reference in New Issue
Block a user