зеркало из https://github.com/mozilla/pjs.git
Bug 707576 - Remove nsIDOMNSElement; r=smaug
This commit is contained in:
Родитель
05147b89b5
Коммит
9739382fc0
|
@ -97,7 +97,6 @@
|
|||
#include "nsIXBLService.h"
|
||||
#include "nsPIDOMWindow.h"
|
||||
#include "nsPIBoxObject.h"
|
||||
#include "nsIDOMNSElement.h"
|
||||
#include "nsClientRect.h"
|
||||
#include "nsSVGUtils.h"
|
||||
#include "nsLayoutUtils.h"
|
||||
|
@ -1709,41 +1708,56 @@ nsGenericElement::GetNextElementSibling()
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetFirstElementChild(nsIDOMElement** aResult)
|
||||
nsGenericElement::GetChildElementCount(PRUint32* aResult)
|
||||
{
|
||||
*aResult = GetChildrenList()->Length(true);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
// readonly attribute nsIDOMNodeList children
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::GetChildElements(nsIDOMNodeList** aResult)
|
||||
{
|
||||
NS_ADDREF(*aResult = GetChildrenList());
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::GetFirstElementChild(nsIDOMElement** aResult)
|
||||
{
|
||||
*aResult = nsnull;
|
||||
|
||||
nsIContent *result = mContent->GetFirstElementChild();
|
||||
nsIContent *result = GetFirstElementChild();
|
||||
|
||||
return result ? CallQueryInterface(result, aResult) : NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetLastElementChild(nsIDOMElement** aResult)
|
||||
nsGenericElement::GetLastElementChild(nsIDOMElement** aResult)
|
||||
{
|
||||
*aResult = nsnull;
|
||||
|
||||
nsIContent *result = mContent->GetLastElementChild();
|
||||
nsIContent *result = GetLastElementChild();
|
||||
|
||||
return result ? CallQueryInterface(result, aResult) : NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetPreviousElementSibling(nsIDOMElement** aResult)
|
||||
nsGenericElement::GetPreviousElementSibling(nsIDOMElement** aResult)
|
||||
{
|
||||
*aResult = nsnull;
|
||||
|
||||
nsIContent *result = mContent->GetPreviousElementSibling();
|
||||
nsIContent *result = GetPreviousElementSibling();
|
||||
|
||||
return result ? CallQueryInterface(result, aResult) : NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetNextElementSibling(nsIDOMElement** aResult)
|
||||
nsGenericElement::GetNextElementSibling(nsIDOMElement** aResult)
|
||||
{
|
||||
*aResult = nsnull;
|
||||
|
||||
nsIContent *result = mContent->GetNextElementSibling();
|
||||
nsIContent *result = GetNextElementSibling();
|
||||
|
||||
return result ? CallQueryInterface(result, aResult) : NS_OK;
|
||||
}
|
||||
|
@ -1762,18 +1776,6 @@ nsGenericElement::GetChildrenList()
|
|||
return slots->mChildrenList;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetChildElementCount(PRUint32* aResult)
|
||||
{
|
||||
return mContent->GetChildElementCount(aResult);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetChildren(nsIDOMNodeList** aResult)
|
||||
{
|
||||
return mContent->GetChildren(aResult);
|
||||
}
|
||||
|
||||
nsIDOMDOMTokenList*
|
||||
nsGenericElement::GetClassList(nsresult *aResult)
|
||||
{
|
||||
|
@ -1790,7 +1792,6 @@ nsGenericElement::GetClassList(nsresult *aResult)
|
|||
}
|
||||
|
||||
slots->mClassList = new nsDOMTokenList(this, classAttr);
|
||||
NS_ENSURE_TRUE(slots->mClassList, nsnull);
|
||||
}
|
||||
|
||||
*aResult = NS_OK;
|
||||
|
@ -1799,12 +1800,12 @@ nsGenericElement::GetClassList(nsresult *aResult)
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetClassList(nsIDOMDOMTokenList** aResult)
|
||||
nsGenericElement::GetClassList(nsIDOMDOMTokenList** aResult)
|
||||
{
|
||||
*aResult = nsnull;
|
||||
|
||||
nsresult rv;
|
||||
nsIDOMDOMTokenList* list = mContent->GetClassList(&rv);
|
||||
nsIDOMDOMTokenList* list = GetClassList(&rv);
|
||||
NS_ENSURE_TRUE(list, rv);
|
||||
|
||||
NS_ADDREF(*aResult = list);
|
||||
|
@ -1812,63 +1813,31 @@ nsNSElementTearoff::GetClassList(nsIDOMDOMTokenList** aResult)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::SetCapture(bool aRetargetToElement)
|
||||
{
|
||||
// If there is already an active capture, ignore this request. This would
|
||||
// occur if a splitter, frame resizer, etc had already captured and we don't
|
||||
// want to override those.
|
||||
if (nsIPresShell::GetCapturingContent())
|
||||
return;
|
||||
return NS_OK;
|
||||
|
||||
nsIPresShell::SetCapturingContent(this, CAPTURE_PREVENTDRAG |
|
||||
(aRetargetToElement ? CAPTURE_RETARGETTOELEMENT : 0));
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::SetCapture(bool aRetargetToElement)
|
||||
{
|
||||
mContent->SetCapture(aRetargetToElement);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::ReleaseCapture()
|
||||
{
|
||||
if (nsIPresShell::GetCapturingContent() == this) {
|
||||
nsIPresShell::SetCapturingContent(nsnull, 0);
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::ReleaseCapture()
|
||||
{
|
||||
mContent->ReleaseCapture();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTION_1(nsNSElementTearoff, mContent)
|
||||
|
||||
NS_INTERFACE_MAP_BEGIN(nsNSElementTearoff)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMNSElement)
|
||||
NS_INTERFACE_MAP_ENTRIES_CYCLE_COLLECTION(nsNSElementTearoff)
|
||||
NS_INTERFACE_MAP_END_AGGREGATED(mContent)
|
||||
|
||||
NS_IMPL_CYCLE_COLLECTING_ADDREF(nsNSElementTearoff)
|
||||
NS_IMPL_CYCLE_COLLECTING_RELEASE(nsNSElementTearoff)
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetElementsByClassName(const nsAString& aClasses,
|
||||
nsIDOMNodeList** aReturn)
|
||||
{
|
||||
return mContent->GetElementsByClassName(aClasses, aReturn);
|
||||
}
|
||||
|
||||
nsIFrame*
|
||||
nsGenericElement::GetStyledFrame()
|
||||
{
|
||||
|
@ -1956,14 +1925,14 @@ nsGenericElement::GetScrollTop()
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetScrollTop(PRInt32* aScrollTop)
|
||||
nsGenericElement::GetScrollTop(PRInt32* aScrollTop)
|
||||
{
|
||||
*aScrollTop = mContent->GetScrollTop();
|
||||
*aScrollTop = GetScrollTop();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::SetScrollTop(PRInt32 aScrollTop)
|
||||
{
|
||||
nsIScrollableFrame* sf = GetScrollFrame();
|
||||
|
@ -1972,13 +1941,6 @@ nsGenericElement::SetScrollTop(PRInt32 aScrollTop)
|
|||
pt.y = nsPresContext::CSSPixelsToAppUnits(aScrollTop);
|
||||
sf->ScrollTo(pt, nsIScrollableFrame::INSTANT);
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::SetScrollTop(PRInt32 aScrollTop)
|
||||
{
|
||||
mContent->SetScrollTop(aScrollTop);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -1993,14 +1955,14 @@ nsGenericElement::GetScrollLeft()
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetScrollLeft(PRInt32* aScrollLeft)
|
||||
nsGenericElement::GetScrollLeft(PRInt32* aScrollLeft)
|
||||
{
|
||||
*aScrollLeft = mContent->GetScrollLeft();
|
||||
*aScrollLeft = GetScrollLeft();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::SetScrollLeft(PRInt32 aScrollLeft)
|
||||
{
|
||||
nsIScrollableFrame* sf = GetScrollFrame();
|
||||
|
@ -2009,13 +1971,6 @@ nsGenericElement::SetScrollLeft(PRInt32 aScrollLeft)
|
|||
pt.x = nsPresContext::CSSPixelsToAppUnits(aScrollLeft);
|
||||
sf->ScrollTo(pt, nsIScrollableFrame::INSTANT);
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::SetScrollLeft(PRInt32 aScrollLeft)
|
||||
{
|
||||
mContent->SetScrollLeft(aScrollLeft);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
@ -2038,9 +1993,9 @@ nsGenericElement::GetScrollHeight()
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetScrollHeight(PRInt32* aScrollHeight)
|
||||
nsGenericElement::GetScrollHeight(PRInt32* aScrollHeight)
|
||||
{
|
||||
*aScrollHeight = mContent->GetScrollHeight();
|
||||
*aScrollHeight = GetScrollHeight();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -2064,9 +2019,9 @@ nsGenericElement::GetScrollWidth()
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetScrollWidth(PRInt32 *aScrollWidth)
|
||||
nsGenericElement::GetScrollWidth(PRInt32 *aScrollWidth)
|
||||
{
|
||||
*aScrollWidth = mContent->GetScrollWidth();
|
||||
*aScrollWidth = GetScrollWidth();
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
@ -2094,41 +2049,38 @@ nsGenericElement::GetClientAreaRect()
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetClientTop(PRInt32 *aClientTop)
|
||||
nsGenericElement::GetClientTop(PRInt32 *aClientTop)
|
||||
{
|
||||
*aClientTop = mContent->GetClientTop();
|
||||
*aClientTop = GetClientTop();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetClientLeft(PRInt32 *aClientLeft)
|
||||
nsGenericElement::GetClientLeft(PRInt32 *aClientLeft)
|
||||
{
|
||||
*aClientLeft = mContent->GetClientLeft();
|
||||
*aClientLeft = GetClientLeft();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetClientHeight(PRInt32 *aClientHeight)
|
||||
nsGenericElement::GetClientHeight(PRInt32 *aClientHeight)
|
||||
{
|
||||
*aClientHeight = mContent->GetClientHeight();
|
||||
*aClientHeight = GetClientHeight();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetClientWidth(PRInt32 *aClientWidth)
|
||||
nsGenericElement::GetClientWidth(PRInt32 *aClientWidth)
|
||||
{
|
||||
*aClientWidth = mContent->GetClientWidth();
|
||||
*aClientWidth = GetClientWidth();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::GetBoundingClientRect(nsIDOMClientRect** aResult)
|
||||
{
|
||||
// Weak ref, since we addref it below
|
||||
nsClientRect* rect = new nsClientRect();
|
||||
if (!rect)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
NS_ADDREF(*aResult = rect);
|
||||
|
||||
nsIFrame* frame = GetPrimaryFrame(Flush_Layout);
|
||||
|
@ -2144,26 +2096,18 @@ nsGenericElement::GetBoundingClientRect(nsIDOMClientRect** aResult)
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetBoundingClientRect(nsIDOMClientRect** aResult)
|
||||
{
|
||||
return mContent->GetBoundingClientRect(aResult);
|
||||
}
|
||||
|
||||
nsresult
|
||||
nsGenericElement::GetElementsByClassName(const nsAString& aClasses,
|
||||
nsIDOMNodeList** aReturn)
|
||||
{
|
||||
return nsContentUtils::GetElementsByClassName(this, aClasses, aReturn);
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::GetClientRects(nsIDOMClientRectList** aResult)
|
||||
{
|
||||
*aResult = nsnull;
|
||||
|
||||
nsRefPtr<nsClientRectList> rectList = new nsClientRectList();
|
||||
if (!rectList)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
|
||||
nsIFrame* frame = GetPrimaryFrame(Flush_Layout);
|
||||
if (!frame) {
|
||||
|
@ -2181,11 +2125,6 @@ nsGenericElement::GetClientRects(nsIDOMClientRectList** aResult)
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::GetClientRects(nsIDOMClientRectList** aResult)
|
||||
{
|
||||
return mContent->GetClientRects(aResult);
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
|
||||
|
@ -4366,7 +4305,6 @@ NS_INTERFACE_MAP_BEGIN(nsGenericElement)
|
|||
NS_INTERFACE_MAP_ENTRY(nsIContent)
|
||||
NS_INTERFACE_MAP_ENTRY(nsINode)
|
||||
NS_INTERFACE_MAP_ENTRY(nsIDOMEventTarget)
|
||||
NS_INTERFACE_MAP_ENTRY_TEAROFF(nsIDOMNSElement, new nsNSElementTearoff(this))
|
||||
NS_INTERFACE_MAP_ENTRY_TEAROFF(nsISupportsWeakReference,
|
||||
new nsNodeSupportsWeakRefTearoff(this))
|
||||
NS_INTERFACE_MAP_ENTRY_TEAROFF(nsIDOMNodeSelector,
|
||||
|
@ -5521,12 +5459,12 @@ nsGenericElement::MozMatchesSelector(const nsAString& aSelector, nsresult* aResu
|
|||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsNSElementTearoff::MozMatchesSelector(const nsAString& aSelector, bool* aReturn)
|
||||
nsGenericElement::MozMatchesSelector(const nsAString& aSelector, bool* aReturn)
|
||||
{
|
||||
NS_PRECONDITION(aReturn, "Null out param?");
|
||||
|
||||
nsresult rv;
|
||||
*aReturn = mContent->MozMatchesSelector(aSelector, &rv);
|
||||
*aReturn = MozMatchesSelector(aSelector, &rv);
|
||||
|
||||
return rv;
|
||||
}
|
||||
|
@ -5586,6 +5524,30 @@ nsGenericElement::SizeOf() const
|
|||
#undef TOUCH_EVENT
|
||||
#undef EVENT
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::GetOnmouseenter(JSContext* cx, JS::Value* vp)
|
||||
{
|
||||
return nsINode::GetOnmouseenter(cx, vp);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::SetOnmouseenter(JSContext* cx, const JS::Value& v)
|
||||
{
|
||||
return nsINode::SetOnmouseenter(cx, v);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::GetOnmouseleave(JSContext* cx, JS::Value* vp)
|
||||
{
|
||||
return nsINode::GetOnmouseleave(cx, vp);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsGenericElement::SetOnmouseleave(JSContext* cx, const JS::Value& v)
|
||||
{
|
||||
return nsINode::SetOnmouseleave(cx, v);
|
||||
}
|
||||
|
||||
bool
|
||||
nsINode::Contains(const nsINode* aOther) const
|
||||
{
|
||||
|
|
|
@ -49,7 +49,6 @@
|
|||
#include "mozilla/dom/Element.h"
|
||||
#include "nsIDOMElement.h"
|
||||
#include "nsIDOMDocumentFragment.h"
|
||||
#include "nsIDOMNSElement.h"
|
||||
#include "nsILinkHandler.h"
|
||||
#include "nsNodeUtils.h"
|
||||
#include "nsAttrAndChildArray.h"
|
||||
|
@ -228,7 +227,6 @@ private:
|
|||
};
|
||||
|
||||
// Forward declare to allow being a friend
|
||||
class nsNSElementTearoff;
|
||||
class nsTouchEventReceiverTearoff;
|
||||
class nsInlineEventHandlersTearoff;
|
||||
|
||||
|
@ -242,7 +240,6 @@ public:
|
|||
nsGenericElement(already_AddRefed<nsINodeInfo> aNodeInfo);
|
||||
virtual ~nsGenericElement();
|
||||
|
||||
friend class nsNSElementTearoff;
|
||||
friend class nsTouchEventReceiverTearoff;
|
||||
friend class nsInlineEventHandlersTearoff;
|
||||
|
||||
|
@ -425,37 +422,8 @@ public:
|
|||
}
|
||||
|
||||
// nsIDOMElement method implementation
|
||||
NS_IMETHOD GetTagName(nsAString& aTagName);
|
||||
NS_IMETHOD GetAttribute(const nsAString& aName,
|
||||
nsAString& aReturn);
|
||||
NS_IMETHOD SetAttribute(const nsAString& aName,
|
||||
const nsAString& aValue);
|
||||
NS_IMETHOD RemoveAttribute(const nsAString& aName);
|
||||
NS_IMETHOD GetAttributeNode(const nsAString& aName,
|
||||
nsIDOMAttr** aReturn);
|
||||
NS_IMETHOD SetAttributeNode(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn);
|
||||
NS_IMETHOD RemoveAttributeNode(nsIDOMAttr* aOldAttr, nsIDOMAttr** aReturn);
|
||||
NS_IMETHOD GetElementsByTagName(const nsAString& aTagname,
|
||||
nsIDOMNodeList** aReturn);
|
||||
NS_IMETHOD GetAttributeNS(const nsAString& aNamespaceURI,
|
||||
const nsAString& aLocalName,
|
||||
nsAString& aReturn);
|
||||
NS_IMETHOD SetAttributeNS(const nsAString& aNamespaceURI,
|
||||
const nsAString& aQualifiedName,
|
||||
const nsAString& aValue);
|
||||
NS_IMETHOD RemoveAttributeNS(const nsAString& aNamespaceURI,
|
||||
const nsAString& aLocalName);
|
||||
NS_IMETHOD GetAttributeNodeNS(const nsAString& aNamespaceURI,
|
||||
const nsAString& aLocalName,
|
||||
nsIDOMAttr** aReturn);
|
||||
NS_IMETHOD SetAttributeNodeNS(nsIDOMAttr* aNewAttr, nsIDOMAttr** aReturn);
|
||||
NS_IMETHOD GetElementsByTagNameNS(const nsAString& aNamespaceURI,
|
||||
const nsAString& aLocalName,
|
||||
nsIDOMNodeList** aReturn);
|
||||
NS_IMETHOD HasAttribute(const nsAString& aName, bool* aReturn);
|
||||
NS_IMETHOD HasAttributeNS(const nsAString& aNamespaceURI,
|
||||
const nsAString& aLocalName,
|
||||
bool* aReturn);
|
||||
NS_DECL_NSIDOMELEMENT
|
||||
|
||||
nsresult CloneNode(bool aDeep, nsIDOMNode **aResult)
|
||||
{
|
||||
return nsNodeUtils::CloneNodeImpl(this, aDeep, true, aResult);
|
||||
|
@ -587,15 +555,8 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
// nsIDOMNSElement methods
|
||||
nsresult GetElementsByClassName(const nsAString& aClasses,
|
||||
nsIDOMNodeList** aReturn);
|
||||
nsresult GetClientRects(nsIDOMClientRectList** aResult);
|
||||
nsresult GetBoundingClientRect(nsIDOMClientRect** aResult);
|
||||
PRInt32 GetScrollTop();
|
||||
void SetScrollTop(PRInt32 aScrollTop);
|
||||
PRInt32 GetScrollLeft();
|
||||
void SetScrollLeft(PRInt32 aScrollLeft);
|
||||
PRInt32 GetScrollHeight();
|
||||
PRInt32 GetScrollWidth();
|
||||
PRInt32 GetClientTop()
|
||||
|
@ -618,35 +579,7 @@ public:
|
|||
nsIContent* GetLastElementChild();
|
||||
nsIContent* GetPreviousElementSibling();
|
||||
nsIContent* GetNextElementSibling();
|
||||
nsresult GetChildElementCount(PRUint32* aResult)
|
||||
{
|
||||
nsContentList* list = GetChildrenList();
|
||||
if (!list) {
|
||||
*aResult = 0;
|
||||
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
*aResult = list->Length(true);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
nsresult GetChildren(nsIDOMNodeList** aResult)
|
||||
{
|
||||
nsContentList* list = GetChildrenList();
|
||||
if (!list) {
|
||||
*aResult = nsnull;
|
||||
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
}
|
||||
|
||||
NS_ADDREF(*aResult = list);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
nsIDOMDOMTokenList* GetClassList(nsresult *aResult);
|
||||
void SetCapture(bool aRetargetToElement);
|
||||
void ReleaseCapture();
|
||||
bool MozMatchesSelector(const nsAString& aSelector, nsresult* aResult);
|
||||
|
||||
/**
|
||||
|
@ -1038,27 +971,6 @@ _elementName::Clone(nsINodeInfo *aNodeInfo, nsINode **aResult) const \
|
|||
NS_GetDOMClassInfoInstance(eDOMClassInfo_##_interface##_id)); \
|
||||
}
|
||||
|
||||
/**
|
||||
* Yet another tearoff class for nsGenericElement
|
||||
* to implement additional interfaces
|
||||
*/
|
||||
class nsNSElementTearoff : public nsIDOMNSElement
|
||||
{
|
||||
public:
|
||||
NS_DECL_CYCLE_COLLECTING_ISUPPORTS
|
||||
|
||||
NS_DECL_NSIDOMNSELEMENT
|
||||
|
||||
NS_DECL_CYCLE_COLLECTION_CLASS(nsNSElementTearoff)
|
||||
|
||||
nsNSElementTearoff(nsGenericElement *aContent) : mContent(aContent)
|
||||
{
|
||||
}
|
||||
|
||||
private:
|
||||
nsRefPtr<nsGenericElement> mContent;
|
||||
};
|
||||
|
||||
/**
|
||||
* Tearoff class to implement nsITouchEventReceiver
|
||||
*/
|
||||
|
|
|
@ -31,8 +31,7 @@ function HTML_TAG(aTagName, aImplClass) {
|
|||
allTags.push(aTagName);
|
||||
classInfos[aTagName] = aImplClass;
|
||||
interfaces[aTagName] =
|
||||
[ "nsIDOMNSElement",
|
||||
"nsIDOMEventTarget",
|
||||
[ "nsIDOMEventTarget",
|
||||
"nsIDOMElementCSSInlineStyle",
|
||||
"nsIDOMNodeSelector",
|
||||
"nsITouchEventReceiver",
|
||||
|
|
|
@ -140,7 +140,6 @@
|
|||
#include "nsIDOMDOMStringList.h"
|
||||
#include "nsIDOMDOMTokenList.h"
|
||||
#include "nsIDOMDOMSettableTokenList.h"
|
||||
#include "nsIDOMNSElement.h"
|
||||
|
||||
#include "nsDOMStringMap.h"
|
||||
|
||||
|
@ -2253,7 +2252,6 @@ nsDOMClassInfo::RegisterExternalClasses()
|
|||
#define DOM_CLASSINFO_GENERIC_HTML_MAP_ENTRIES \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMElementCSSInlineStyle) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSElement) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNodeSelector) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIInlineEventHandlers) \
|
||||
DOM_CLASSINFO_MAP_CONDITIONAL_ENTRY(nsITouchEventReceiver, \
|
||||
|
@ -2430,7 +2428,6 @@ nsDOMClassInfo::Init()
|
|||
|
||||
DOM_CLASSINFO_MAP_BEGIN(Element, nsIDOMElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNodeSelector)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIInlineEventHandlers)
|
||||
|
@ -2963,7 +2960,6 @@ nsDOMClassInfo::Init()
|
|||
DOM_CLASSINFO_MAP_BEGIN(XULElement, nsIDOMXULElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMXULElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMElementCSSInlineStyle)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNodeSelector)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIInlineEventHandlers)
|
||||
|
@ -3067,7 +3063,6 @@ nsDOMClassInfo::Init()
|
|||
#define DOM_CLASSINFO_SVG_ELEMENT_MAP_ENTRIES \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMSVGElement) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSElement) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNodeSelector) \
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIInlineEventHandlers) \
|
||||
DOM_CLASSINFO_MAP_CONDITIONAL_ENTRY(nsITouchEventReceiver, \
|
||||
|
@ -4014,7 +4009,6 @@ nsDOMClassInfo::Init()
|
|||
|
||||
DOM_CLASSINFO_MAP_BEGIN_NO_CLASS_IF(MathMLElement, nsIDOMElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNSElement)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMEventTarget)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIDOMNodeSelector)
|
||||
DOM_CLASSINFO_MAP_ENTRY(nsIInlineEventHandlers)
|
||||
|
|
|
@ -58,7 +58,6 @@ interface nsIDOMDocument;
|
|||
interface nsIDOMDocumentFragment;
|
||||
interface nsIDOMDocumentType;
|
||||
interface nsIDOMElement;
|
||||
interface nsIDOMNSElement;
|
||||
interface nsIDOMNamedNodeMap;
|
||||
interface nsIDOMNode;
|
||||
interface nsIDOMNodeList;
|
||||
|
|
|
@ -68,7 +68,6 @@ XPIDLSRCS = \
|
|||
nsIDOMXMLDocument.idl \
|
||||
nsIDOMUserDataHandler.idl \
|
||||
nsIDOMNSEditableElement.idl \
|
||||
nsIDOMNSElement.idl \
|
||||
nsIDOMNodeSelector.idl \
|
||||
nsIDOMDOMTokenList.idl \
|
||||
nsIDOMDOMSettableTokenList.idl \
|
||||
|
|
|
@ -22,6 +22,8 @@
|
|||
* Contributor(s):
|
||||
* Vidur Apparao <vidur@netscape.com> (original author)
|
||||
* Johnny Stenback <jst@netscape.com>
|
||||
* Robert Sayre <sayrer@gmail.com>
|
||||
* Ms2ger <ms2ger@gmail.com>
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
|
@ -44,52 +46,177 @@
|
|||
* XML document.
|
||||
*
|
||||
* For more information on this interface please see
|
||||
* http://www.w3.org/TR/DOM-Level-2-Core/
|
||||
* http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#interface-element
|
||||
*/
|
||||
|
||||
[scriptable, uuid(1f249e8b-7b41-44c0-a8d5-15298c1198cd)]
|
||||
[scriptable, uuid(f561753a-1d4f-40c1-b147-ea955fc6fd94)]
|
||||
interface nsIDOMElement : nsIDOMNode
|
||||
{
|
||||
readonly attribute DOMString tagName;
|
||||
|
||||
/**
|
||||
* Returns a DOMTokenList object reflecting the class attribute.
|
||||
*/
|
||||
readonly attribute nsIDOMDOMTokenList classList;
|
||||
|
||||
DOMString getAttribute(in DOMString name);
|
||||
void setAttribute(in DOMString name,
|
||||
in DOMString value)
|
||||
raises(DOMException);
|
||||
void removeAttribute(in DOMString name)
|
||||
raises(DOMException);
|
||||
nsIDOMAttr getAttributeNode(in DOMString name);
|
||||
nsIDOMAttr setAttributeNode(in nsIDOMAttr newAttr)
|
||||
raises(DOMException);
|
||||
nsIDOMAttr removeAttributeNode(in nsIDOMAttr oldAttr)
|
||||
raises(DOMException);
|
||||
nsIDOMNodeList getElementsByTagName(in DOMString name);
|
||||
// Introduced in DOM Level 2:
|
||||
DOMString getAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
void setAttribute(in DOMString name,
|
||||
in DOMString value);
|
||||
void setAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString qualifiedName,
|
||||
in DOMString value)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
in DOMString value);
|
||||
void removeAttribute(in DOMString name);
|
||||
void removeAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
nsIDOMAttr getAttributeNodeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
nsIDOMAttr setAttributeNodeNS(in nsIDOMAttr newAttr)
|
||||
raises(DOMException);
|
||||
// Introduced in DOM Level 2:
|
||||
nsIDOMNodeList getElementsByTagNameNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
// Introduced in DOM Level 2:
|
||||
in DOMString localName);
|
||||
boolean hasAttribute(in DOMString name);
|
||||
// Introduced in DOM Level 2:
|
||||
boolean hasAttributeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
|
||||
// Obsolete methods.
|
||||
nsIDOMAttr getAttributeNode(in DOMString name);
|
||||
nsIDOMAttr setAttributeNode(in nsIDOMAttr newAttr);
|
||||
nsIDOMAttr removeAttributeNode(in nsIDOMAttr oldAttr);
|
||||
nsIDOMAttr getAttributeNodeNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
nsIDOMAttr setAttributeNodeNS(in nsIDOMAttr newAttr)
|
||||
raises(DOMException);
|
||||
|
||||
nsIDOMNodeList getElementsByTagName(in DOMString name);
|
||||
nsIDOMNodeList getElementsByTagNameNS(in DOMString namespaceURI,
|
||||
in DOMString localName);
|
||||
/**
|
||||
* Retrieve elements matching all classes listed in a
|
||||
* space-separated string.
|
||||
*/
|
||||
nsIDOMNodeList getElementsByClassName(in DOMString classes);
|
||||
|
||||
/**
|
||||
* Returns a live nsIDOMNodeList of the current child elements.
|
||||
*/
|
||||
[binaryname(ChildElements)]
|
||||
readonly attribute nsIDOMNodeList children;
|
||||
/**
|
||||
* Similar as the attributes on nsIDOMNode, but navigates just elements
|
||||
* rather than all nodes.
|
||||
*/
|
||||
readonly attribute nsIDOMElement firstElementChild;
|
||||
readonly attribute nsIDOMElement lastElementChild;
|
||||
readonly attribute nsIDOMElement previousElementSibling;
|
||||
readonly attribute nsIDOMElement nextElementSibling;
|
||||
/**
|
||||
* Returns the number of child nodes that are nsIDOMElements.
|
||||
*/
|
||||
readonly attribute unsigned long childElementCount;
|
||||
|
||||
|
||||
// HTML
|
||||
[implicit_jscontext] attribute jsval onmouseenter;
|
||||
[implicit_jscontext] attribute jsval onmouseleave;
|
||||
|
||||
|
||||
// CSSOM View
|
||||
/**
|
||||
* Retrieve a list of rectangles, one for each CSS border-box associated with
|
||||
* the element. The coordinates are in CSS pixels, and relative to
|
||||
* the top-left of the document's viewport, unless the document
|
||||
* has an SVG foreignobject ancestor, in which case the coordinates are
|
||||
* relative to the top-left of the content box of the nearest SVG foreignobject
|
||||
* ancestor. The coordinates are calculated as if every scrollable element
|
||||
* is scrolled to its default position.
|
||||
*
|
||||
* Note: the boxes of overflowing children do not affect these rectangles.
|
||||
* Note: some elements have empty CSS boxes. Those return empty rectangles,
|
||||
* but the coordinates may still be meaningful.
|
||||
* Note: some elements have no CSS boxes (including display:none elements,
|
||||
* HTML AREA elements, and SVG elements that do not render). Those return
|
||||
* an empty list.
|
||||
*/
|
||||
nsIDOMClientRectList getClientRects();
|
||||
|
||||
/**
|
||||
* Returns the union of all rectangles in the getClientRects() list. Empty
|
||||
* rectangles are ignored, except that if all rectangles are empty,
|
||||
* we return an empty rectangle positioned at the top-left of the first
|
||||
* rectangle in getClientRects().
|
||||
*/
|
||||
nsIDOMClientRect getBoundingClientRect();
|
||||
|
||||
/**
|
||||
* The vertical scroll position of the element, or 0 if the element is not
|
||||
* scrollable. This property may be assigned a value to change the
|
||||
* vertical scroll position.
|
||||
*/
|
||||
attribute long scrollTop;
|
||||
|
||||
/**
|
||||
* The horizontal scroll position of the element, or 0 if the element is not
|
||||
* scrollable. This property may be assigned a value to change the
|
||||
* horizontal scroll position.
|
||||
*/
|
||||
attribute long scrollLeft;
|
||||
|
||||
/**
|
||||
* The width of the scrollable area of the element. If the element is not
|
||||
* scrollable, scrollWidth is equivalent to the offsetWidth.
|
||||
*/
|
||||
readonly attribute long scrollWidth;
|
||||
|
||||
/**
|
||||
* The height of the scrollable area of the element. If the element is not
|
||||
* scrollable, scrollHeight is equivalent to the offsetHeight.
|
||||
*/
|
||||
readonly attribute long scrollHeight;
|
||||
|
||||
/**
|
||||
* The height in CSS pixels of the element's top border.
|
||||
*/
|
||||
readonly attribute long clientTop;
|
||||
|
||||
/**
|
||||
* The width in CSS pixels of the element's left border and scrollbar
|
||||
* if it is present on the left side.
|
||||
*/
|
||||
readonly attribute long clientLeft;
|
||||
|
||||
/**
|
||||
* The height in CSS pixels of the element's padding box. If the element is
|
||||
* scrollable, the scroll bars are included inside this width.
|
||||
*/
|
||||
readonly attribute long clientWidth;
|
||||
|
||||
/**
|
||||
* The width in CSS pixels of the element's padding box. If the element is
|
||||
* scrollable, the scroll bars are included inside this height.
|
||||
*/
|
||||
readonly attribute long clientHeight;
|
||||
|
||||
|
||||
// Selectors API
|
||||
/**
|
||||
* Returns whether this element would be selected by the given selector
|
||||
* string.
|
||||
*
|
||||
* See <http://dev.w3.org/2006/webapi/selectors-api2/#matchesselector>
|
||||
*/
|
||||
boolean mozMatchesSelector([Null(Stringify)] in DOMString selector);
|
||||
|
||||
|
||||
// Proprietary extensions
|
||||
/**
|
||||
* Set this during a mousedown event to grab and retarget all mouse events
|
||||
* to this element until the mouse button is released or releaseCapture is
|
||||
* called. If retargetToElement is true, then all events are targetted at
|
||||
* this element. If false, events can also fire at descendants of this
|
||||
* element.
|
||||
*
|
||||
*/
|
||||
void setCapture([optional] in boolean retargetToElement);
|
||||
|
||||
/**
|
||||
* If this element has captured the mouse, release the capture. If another
|
||||
* element has captured the mouse, this method has no effect.
|
||||
*/
|
||||
void releaseCapture();
|
||||
};
|
||||
|
|
|
@ -1,179 +0,0 @@
|
|||
/* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
||||
/* ***** BEGIN LICENSE BLOCK *****
|
||||
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
||||
*
|
||||
* The contents of this file are subject to the Mozilla Public License Version
|
||||
* 1.1 (the "License"); you may not use this file except in compliance with
|
||||
* the License. You may obtain a copy of the License at
|
||||
* http://www.mozilla.org/MPL/
|
||||
*
|
||||
* Software distributed under the License is distributed on an "AS IS" basis,
|
||||
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
|
||||
* for the specific language governing rights and limitations under the
|
||||
* License.
|
||||
*
|
||||
* The Original Code is mozilla.org code.
|
||||
*
|
||||
* The Initial Developer of the Original Code is
|
||||
* Mozilla Foundation.
|
||||
* Portions created by the Initial Developer are Copyright (C) 2007
|
||||
* the Initial Developer. All Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
* Robert Sayre <sayrer@gmail.com> (original author)
|
||||
*
|
||||
*
|
||||
* Alternatively, the contents of this file may be used under the terms of
|
||||
* either of the GNU General Public License Version 2 or later (the "GPL"),
|
||||
* or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
||||
* in which case the provisions of the GPL or the LGPL are applicable instead
|
||||
* of those above. If you wish to allow use of your version of this file only
|
||||
* under the terms of either the GPL or the LGPL, and not to allow others to
|
||||
* use your version of this file under the terms of the MPL, indicate your
|
||||
* decision by deleting the provisions above and replace them with the notice
|
||||
* and other provisions required by the GPL or the LGPL. If you do not delete
|
||||
* the provisions above, a recipient may use your version of this file under
|
||||
* the terms of any one of the MPL, the GPL or the LGPL.
|
||||
*
|
||||
* ***** END LICENSE BLOCK ***** */
|
||||
|
||||
#include "domstubs.idl"
|
||||
|
||||
[scriptable, uuid(D894B5D4-44F3-422A-A220-7763C12D4A94)]
|
||||
interface nsIDOMNSElement : nsISupports
|
||||
{
|
||||
/*
|
||||
* Retrieve elements matching all classes listed in a
|
||||
* space-separated string.
|
||||
*
|
||||
* See <http://whatwg.org/specs/web-apps/current-work/>
|
||||
*/
|
||||
nsIDOMNodeList getElementsByClassName(in DOMString classes);
|
||||
|
||||
/*
|
||||
* Retrieve a list of rectangles, one for each CSS border-box associated with
|
||||
* the element. The coordinates are in CSS pixels, and relative to
|
||||
* the top-left of the document's viewport, unless the document
|
||||
* has an SVG foreignobject ancestor, in which case the coordinates are
|
||||
* relative to the top-left of the content box of the nearest SVG foreignobject
|
||||
* ancestor. The coordinates are calculated as if every scrollable element
|
||||
* is scrolled to its default position.
|
||||
*
|
||||
* Note: the boxes of overflowing children do not affect these rectangles.
|
||||
* Note: some elements have empty CSS boxes. Those return empty rectangles,
|
||||
* but the coordinates may still be meaningful.
|
||||
* Note: some elements have no CSS boxes (including display:none elements,
|
||||
* HTML AREA elements, and SVG elements that do not render). Those return
|
||||
* an empty list.
|
||||
*/
|
||||
nsIDOMClientRectList getClientRects();
|
||||
|
||||
/**
|
||||
* Returns the union of all rectangles in the getClientRects() list. Empty
|
||||
* rectangles are ignored, except that if all rectangles are empty,
|
||||
* we return an empty rectangle positioned at the top-left of the first
|
||||
* rectangle in getClientRects().
|
||||
*/
|
||||
nsIDOMClientRect getBoundingClientRect();
|
||||
|
||||
/**
|
||||
* The vertical scroll position of the element, or 0 if the element is not
|
||||
* scrollable. This property may be assigned a value to change the
|
||||
* vertical scroll position.
|
||||
*/
|
||||
attribute long scrollTop;
|
||||
|
||||
/**
|
||||
* The horizontal scroll position of the element, or 0 if the element is not
|
||||
* scrollable. This property may be assigned a value to change the
|
||||
* horizontal scroll position.
|
||||
*/
|
||||
attribute long scrollLeft;
|
||||
|
||||
/**
|
||||
* The height of the scrollable area of the element. If the element is not
|
||||
* scrollable, scrollHeight is equivalent to the offsetHeight.
|
||||
*/
|
||||
readonly attribute long scrollHeight;
|
||||
|
||||
/**
|
||||
* The width of the scrollable area of the element. If the element is not
|
||||
* scrollable, scrollWidth is equivalent to the offsetWidth.
|
||||
*/
|
||||
readonly attribute long scrollWidth;
|
||||
|
||||
/**
|
||||
* The height in CSS pixels of the element's top border.
|
||||
*/
|
||||
readonly attribute long clientTop;
|
||||
|
||||
/**
|
||||
* The width in CSS pixels of the element's left border and scrollbar
|
||||
* if it is present on the left side.
|
||||
*/
|
||||
readonly attribute long clientLeft;
|
||||
|
||||
/**
|
||||
* The width in CSS pixels of the element's padding box. If the element is
|
||||
* scrollable, the scroll bars are included inside this height.
|
||||
*/
|
||||
readonly attribute long clientHeight;
|
||||
|
||||
/**
|
||||
* The height in CSS pixels of the element's padding box. If the element is
|
||||
* scrollable, the scroll bars are included inside this width.
|
||||
*/
|
||||
readonly attribute long clientWidth;
|
||||
|
||||
/**
|
||||
* Similar as the attributes on nsIDOMNode, but navigates just elements
|
||||
* rather than all nodes.
|
||||
*
|
||||
* Defined by the ElementTraversal spec.
|
||||
*/
|
||||
readonly attribute nsIDOMElement firstElementChild;
|
||||
readonly attribute nsIDOMElement lastElementChild;
|
||||
readonly attribute nsIDOMElement previousElementSibling;
|
||||
readonly attribute nsIDOMElement nextElementSibling;
|
||||
|
||||
/**
|
||||
* Returns the number of child nodes that are nsIDOMElements.
|
||||
*
|
||||
* Defined by the ElementTraversal spec.
|
||||
*/
|
||||
readonly attribute unsigned long childElementCount;
|
||||
|
||||
/**
|
||||
* Returns a live nsIDOMNodeList of the current child elements.
|
||||
*/
|
||||
readonly attribute nsIDOMNodeList children;
|
||||
|
||||
/**
|
||||
* Returns a DOMTokenList object reflecting the class attribute.
|
||||
*/
|
||||
readonly attribute nsIDOMDOMTokenList classList;
|
||||
|
||||
/**
|
||||
* Set this during a mousedown event to grab and retarget all mouse events
|
||||
* to this element until the mouse button is released or releaseCapture is
|
||||
* called. If retargetToElement is true, then all events are targetted at
|
||||
* this element. If false, events can also fire at descendants of this
|
||||
* element.
|
||||
*
|
||||
*/
|
||||
void setCapture([optional] in boolean retargetToElement);
|
||||
|
||||
/**
|
||||
* If this element has captured the mouse, release the capture. If another
|
||||
* element has captured the mouse, this method has no effect.
|
||||
*/
|
||||
void releaseCapture();
|
||||
|
||||
/**
|
||||
* Returns whether this element would be selected by the given selector
|
||||
* string.
|
||||
*
|
||||
* See <http://dev.w3.org/2006/webapi/selectors-api2/>
|
||||
*/
|
||||
boolean mozMatchesSelector([Null(Stringify)] in DOMString selector);
|
||||
};
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(bcb54394-d9f8-4bcb-bbbb-eca9826cdbca)]
|
||||
[scriptable, uuid(44a9c8e1-2c95-41e4-86f1-96033a452a4d)]
|
||||
interface nsIDOMHTMLAnchorElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString href;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(a06bca18-791f-474e-a031-bf6c2bd14994)]
|
||||
[scriptable, uuid(962eefd6-8728-4626-82b4-b008aaca00d4)]
|
||||
interface nsIDOMHTMLAppletElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(7e607c36-aecc-4dee-a93a-95e22a374bfb)]
|
||||
[scriptable, uuid(293d9f21-df16-4706-91d5-f6381f9db554)]
|
||||
interface nsIDOMHTMLAreaElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString alt;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(756e2792-b937-4a70-bd1f-9d6820473e7e)]
|
||||
[scriptable, uuid(c74b835f-bb68-4ab3-a02c-08152cbb09fa)]
|
||||
interface nsIDOMHTMLAudioElement : nsIDOMHTMLMediaElement
|
||||
{
|
||||
// Setup the audio stream for writing
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(7eefd466-7c4d-499a-a076-e33204e69dc3)]
|
||||
[scriptable, uuid(595249b7-c889-4e3b-9bc2-a309cab26319)]
|
||||
interface nsIDOMHTMLBRElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString clear;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(e55cd224-b603-4976-892a-20b11d469394)]
|
||||
[scriptable, uuid(9b845be3-5097-42ec-a3d1-a4082dd7ad8d)]
|
||||
interface nsIDOMHTMLBaseElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString href;
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(6c377d44-a5d1-4f0f-860a-9858d2cb5679)]
|
||||
[scriptable, uuid(fbc08701-776e-47d8-8b14-12b27aadc180)]
|
||||
interface nsIDOMHTMLBodyElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString aLink;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(79f034f0-5c13-4101-9598-412e1eac1986)]
|
||||
[scriptable, uuid(1de3c266-5dc3-4438-8537-379879bfa425)]
|
||||
interface nsIDOMHTMLButtonElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean autofocus;
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
interface nsIDOMFile;
|
||||
interface nsIVariant;
|
||||
|
||||
[scriptable, uuid(dbbeeba1-3c20-4d9d-ac82-98b69fd819a9)]
|
||||
[scriptable, uuid(8cddbc86-f384-40ac-835b-fe3e00630cad)]
|
||||
interface nsIDOMHTMLCanvasElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute unsigned long width;
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(13032f74-4150-4768-ab5e-51f4de39a300)]
|
||||
[scriptable, uuid(cd779d00-7b8a-4c2c-baeb-45c09d9b6728)]
|
||||
interface nsIDOMHTMLCommandElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString type;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(50e9ff30-0982-4074-bc65-313f41be8624)]
|
||||
[scriptable, uuid(be500158-e7b4-468e-8a02-9cb5b699dfc3)]
|
||||
interface nsIDOMHTMLDListElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -49,7 +49,7 @@
|
|||
|
||||
interface nsIDOMHTMLCollection;
|
||||
|
||||
[scriptable, uuid(3bace78b-9eca-4990-a5d6-9c2b8c32cc8a)]
|
||||
[scriptable, uuid(e81861c0-8522-4e5b-8d3c-869cce3db4b9)]
|
||||
interface nsIDOMHTMLDataListElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLCollection options;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(a99e86ae-7761-4145-b8a4-5a91186051f1)]
|
||||
[scriptable, uuid(296eb015-904f-456c-a55c-ac7c828536a4)]
|
||||
interface nsIDOMHTMLDirectoryElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(6815b902-8e04-49dd-977b-0a8785e5ffaf)]
|
||||
[scriptable, uuid(37ac66bd-a7ba-4280-93bb-889f1f94494b)]
|
||||
interface nsIDOMHTMLDivElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -53,7 +53,7 @@ interface nsIDOMHTMLMenuElement;
|
|||
* with changes from the work-in-progress WHATWG HTML specification:
|
||||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
[scriptable, uuid(4eccf8a3-8bf5-43f3-a728-f5b632f7db3a)]
|
||||
[scriptable, uuid(3de9f8c1-5d76-4d2e-b6b9-334c6eb0c113)]
|
||||
interface nsIDOMHTMLElement : nsIDOMElement
|
||||
{
|
||||
// metadata attributes
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/#the-embed-element
|
||||
*/
|
||||
|
||||
[scriptable, uuid(940a15c2-0d48-4186-b4d8-067fa1ce5675)]
|
||||
[scriptable, uuid(8e3d4e85-27e8-4ba1-b837-248a01a60002)]
|
||||
interface nsIDOMHTMLEmbedElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(781ae103-b030-4aad-b2d5-96e5c2317dec)]
|
||||
[scriptable, uuid(91f19c37-4763-4963-a38a-ce3101fd3729)]
|
||||
interface nsIDOMHTMLFieldSetElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(1c9778ee-a49c-40ee-9b93-c0ff15630431)]
|
||||
[scriptable, uuid(e044a106-3f5c-44d6-a49a-a0a0b8eb1b56)]
|
||||
interface nsIDOMHTMLFontElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString color;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(d873b251-6f96-4e70-baf5-aaa935aabe59)]
|
||||
[scriptable, uuid(b0fa651a-134c-4b20-ba4d-35b956a4fc50)]
|
||||
interface nsIDOMHTMLFormElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString acceptCharset;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(318fdc4a-3fca-4099-94aa-c9a1c30ca2b9)]
|
||||
[scriptable, uuid(4b529afd-ada8-4a2c-a70b-a4e2ead2329d)]
|
||||
interface nsIDOMHTMLFrameElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString frameBorder;
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(6eefbe6d-182c-42e9-9850-af1892b6f2e4)]
|
||||
[scriptable, uuid(7df308ed-97bc-4646-b827-c74ba98c3132)]
|
||||
interface nsIDOMHTMLFrameSetElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString cols;
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(b94bff8f-dfa7-4dd8-8d97-c301dd9de729)]
|
||||
[scriptable, uuid(cc4919f4-3123-4e03-a49c-82abaad84f2f)]
|
||||
interface nsIDOMHTMLHRElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(628fe597-6408-4387-9fcb-75381e2b2dd0)]
|
||||
[scriptable, uuid(dcffcf96-c4be-4c4d-a8db-05ca19212053)]
|
||||
interface nsIDOMHTMLHeadElement : nsIDOMHTMLElement
|
||||
{
|
||||
};
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(964c94b0-5571-44e7-9b29-f81c6ea7828a)]
|
||||
[scriptable, uuid(bf25942d-acb2-4a88-87b3-ebd498a60158)]
|
||||
interface nsIDOMHTMLHeadingElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(4bafbc15-aa88-4021-9ad6-e14189b7227b)]
|
||||
[scriptable, uuid(11064dea-f7bb-4e92-88a9-54a5cacb9bb8)]
|
||||
interface nsIDOMHTMLHtmlElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString version;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(5ef30718-fe45-43a2-a478-a9e3cbf3a118)]
|
||||
[scriptable, uuid(d4e870bd-452c-4860-b93c-f4ee00ba33f6)]
|
||||
interface nsIDOMHTMLIFrameElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(56d9191f-5a94-432f-af70-6fccdeaf614b)]
|
||||
[scriptable, uuid(3ed7023f-24be-4cd6-984c-c182a6b67bf9)]
|
||||
interface nsIDOMHTMLImageElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString alt;
|
||||
|
|
|
@ -54,7 +54,7 @@ interface nsIDOMValidityState;
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(7330cd35-c930-4f45-ae61-f5380c30222d)]
|
||||
[scriptable, uuid(6b1175a5-70dd-4c26-be99-9e780c32550d)]
|
||||
interface nsIDOMHTMLInputElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString accept;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(85b15d13-be6d-4653-9c70-22a13d510247)]
|
||||
[scriptable, uuid(681be589-da8b-4bf9-a7e0-6f29a5ac91bb)]
|
||||
interface nsIDOMHTMLLIElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString type;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(ddbca449-625d-467c-a22d-7887474f9eb9)]
|
||||
[scriptable, uuid(9f176054-6e79-4235-b4b9-061beddb4ac4)]
|
||||
interface nsIDOMHTMLLabelElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLFormElement form;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(dac72753-6919-414b-b771-9e1e86e7749c)]
|
||||
[scriptable, uuid(0482fb35-dba0-4675-bf7b-aed33b575f38)]
|
||||
interface nsIDOMHTMLLegendElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLFormElement form;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(2ece79f4-83d7-499c-946f-ae9ab93147b7)]
|
||||
[scriptable, uuid(0c8d524d-d3fc-44dd-8f6a-59069e33ded4)]
|
||||
interface nsIDOMHTMLLinkElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(c919bc49-bd49-4b89-ba70-5c74c4ef504a)]
|
||||
[scriptable, uuid(b99c31bc-76d0-43bc-a912-f839ec89c829)]
|
||||
interface nsIDOMHTMLMapElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLCollection areas;
|
||||
|
|
|
@ -57,7 +57,7 @@
|
|||
#endif
|
||||
%}
|
||||
|
||||
[scriptable, uuid(ea1eff7e-daa5-4d35-a6e4-64f3ee8302cf)]
|
||||
[scriptable, uuid(1f312b70-c1e1-40ca-94d4-5f70cac773da)]
|
||||
interface nsIDOMHTMLMediaElement : nsIDOMHTMLElement
|
||||
{
|
||||
// error state
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(06d48250-45e0-4f26-9a07-d9b5a3f08bb6)]
|
||||
[scriptable, uuid(321392c8-9eb1-47db-a41c-5dc466949e8a)]
|
||||
interface nsIDOMHTMLMenuElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(4680ec24-94f0-4eb7-9413-98f9a857de72)]
|
||||
[scriptable, uuid(66a84ce5-2346-42ca-b6e4-7cc8ec9e621d)]
|
||||
interface nsIDOMHTMLMenuItemElement : nsIDOMHTMLCommandElement
|
||||
{
|
||||
};
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(db476657-5f59-4e29-84a6-50afe6f85ac7)]
|
||||
[scriptable, uuid(1817a7fa-6f13-44f8-8a45-7f8f1fe7c252)]
|
||||
interface nsIDOMHTMLMetaElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString content;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(170733d4-aad5-4f6e-86c0-94845ea6116d)]
|
||||
[scriptable, uuid(40552a5e-7fea-42cb-b65d-4d8c0827d03c)]
|
||||
interface nsIDOMHTMLModElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString cite;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(31a5f083-59a6-41c3-8a0b-e58e484c6516)]
|
||||
[scriptable, uuid(08a25a61-f2a3-4eff-b208-ad05805e62e7)]
|
||||
interface nsIDOMHTMLOListElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -52,7 +52,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(40037f4a-5bae-476f-977b-bbd8e78aaefe)]
|
||||
[scriptable, uuid(dbb14d7b-05ce-4abd-a980-9aedede612af)]
|
||||
interface nsIDOMHTMLObjectElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMHTMLFormElement form;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(ab55d67a-aabb-4441-b182-8ff2bd7d157e)]
|
||||
[scriptable, uuid(45685a23-a6c0-48d3-83f9-7b3bba1bd995)]
|
||||
interface nsIDOMHTMLOptGroupElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(7c5bf0ac-6230-4ee0-8b82-e7ebf211af03)]
|
||||
[scriptable, uuid(ec3cfb59-a945-4821-8ea6-2448970e7639)]
|
||||
interface nsIDOMHTMLOptionElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
interface nsIDOMDOMSettableTokenList;
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(f2074cdb-19cb-447a-935c-9f4402dc1b5e)]
|
||||
[scriptable, uuid(8f321988-6fe2-4714-8ba9-12c819fea2ed)]
|
||||
interface nsIDOMHTMLOutputElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute nsIDOMDOMSettableTokenList htmlFor;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(e4f498f4-e3c5-46fe-92d0-c9957ccab530)]
|
||||
[scriptable, uuid(5874cbcf-8a14-49d6-ac5f-52d3dc6df529)]
|
||||
interface nsIDOMHTMLParagraphElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(d832b1ac-9bb6-4df0-9d9e-f7c040759672)]
|
||||
[scriptable, uuid(1f0685fb-bf49-4c39-b08d-7d75b1e5e493)]
|
||||
interface nsIDOMHTMLParamElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString name;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(f4088dff-649c-4eff-a3a4-dbd6333cdc44)]
|
||||
[scriptable, uuid(1b24b515-7227-40dc-ad53-ad2a55d281d4)]
|
||||
interface nsIDOMHTMLPreElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute long width;
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(9b1d2263-b60f-4d18-b4d1-66e8c3867c79)]
|
||||
[scriptable, uuid(d74f904b-d3cd-47c3-a863-753fe22c19ab)]
|
||||
interface nsIDOMHTMLProgressElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute double value;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(55643647-2eda-4a45-af55-b2ba6c40c5f5)]
|
||||
[scriptable, uuid(9b20c533-a94f-4644-9763-1f414ebbe9b1)]
|
||||
interface nsIDOMHTMLQuoteElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString cite;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(4b6a0957-5466-4134-8a0a-dd7e4675c106)]
|
||||
[scriptable, uuid(8b79bf24-d127-4b63-a798-f44bee76204d)]
|
||||
interface nsIDOMHTMLScriptElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString src;
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
|
||||
interface nsIDOMValidityState;
|
||||
|
||||
[scriptable, uuid(98f111e0-2b7e-4abd-984b-2cc1d174fe44)]
|
||||
[scriptable, uuid(6f0a4fee-3aea-4bb7-85cb-d4881a55ca43)]
|
||||
interface nsIDOMHTMLSelectElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean autofocus;
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(c49d9a78-fa02-49c9-b239-9cd51e99f866)]
|
||||
[scriptable, uuid(df8ecfef-92e5-419e-81d4-900a7cf3c3c3)]
|
||||
interface nsIDOMHTMLSourceElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString src;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(247fc8c4-92f3-427b-af6f-41b13f28287d)]
|
||||
[scriptable, uuid(04c29aaa-2239-42a9-ade0-0ba3134c1a8e)]
|
||||
interface nsIDOMHTMLStyleElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean disabled;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(db0e641f-ba2b-4c67-8da1-4e418cc5fbf7)]
|
||||
[scriptable, uuid(22cfd967-a21d-4bed-a759-0928ff4dfcd0)]
|
||||
interface nsIDOMHTMLTableCaptionElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(4caa7af0-fec4-44c1-9a81-e1f14166e60c)]
|
||||
[scriptable, uuid(61bf360a-a6b7-4928-96de-b54742f8b4b8)]
|
||||
interface nsIDOMHTMLTableCellElement : nsIDOMHTMLElement
|
||||
{
|
||||
readonly attribute long cellIndex;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(9a4d1f6a-fb19-4886-b0d8-dcd201566580)]
|
||||
[scriptable, uuid(d933a77b-35f3-41ec-b73f-8ae80bb7cf73)]
|
||||
interface nsIDOMHTMLTableColElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(0f809b97-9311-45c4-a44e-7145f354438b)]
|
||||
[scriptable, uuid(7b9d43a6-7e9e-4618-970b-29eb3547d506)]
|
||||
interface nsIDOMHTMLTableElement : nsIDOMHTMLElement
|
||||
{
|
||||
// Modified in DOM Level 2:
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(d24a80d4-491d-4e36-9349-afd3c6999b3e)]
|
||||
[scriptable, uuid(f76a1d42-25b9-41b9-a58e-7d934e1be0a2)]
|
||||
interface nsIDOMHTMLTableRowElement : nsIDOMHTMLElement
|
||||
{
|
||||
// Modified in DOM Level 2:
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(6acc106e-96a2-4519-8f3a-142ebbdc1bb1)]
|
||||
[scriptable, uuid(4940c93c-b83e-4101-b9de-c33139cc5a3a)]
|
||||
interface nsIDOMHTMLTableSectionElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString align;
|
||||
|
|
|
@ -53,7 +53,7 @@ interface nsIDOMValidityState;
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(16db703d-4816-440c-bcb3-c1ae0cae6532)]
|
||||
[scriptable, uuid(0ad0571c-f8ba-44e2-b5aa-5e1c93fae7c0)]
|
||||
interface nsIDOMHTMLTextAreaElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean autofocus;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(e20fd651-6240-4f20-b8f0-6cc25cb699b7)]
|
||||
[scriptable, uuid(c569199b-328a-433d-8d40-fe858988625e)]
|
||||
interface nsIDOMHTMLTitleElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute DOMString text;
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
* http://www.whatwg.org/specs/web-apps/current-work/
|
||||
*/
|
||||
|
||||
[scriptable, uuid(2467d39c-2c30-407e-9b67-ea5f231b7809)]
|
||||
[scriptable, uuid(e9bec981-dd3e-4849-85b9-2f4f30ba5152)]
|
||||
interface nsIDOMHTMLUListElement : nsIDOMHTMLElement
|
||||
{
|
||||
attribute boolean compact;
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
*
|
||||
* @see <http://www.whatwg.org/html/#htmlunknownelement>
|
||||
*/
|
||||
[scriptable, uuid(5f922c13-c2c1-4c49-b7c2-0e4e5c8e6860)]
|
||||
[scriptable, uuid(50c480fa-d3dc-49ad-a21d-d4d5f7aec44e)]
|
||||
interface nsIDOMHTMLUnknownElement : nsIDOMHTMLElement
|
||||
{
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
* @status UNDER_DEVELOPMENT
|
||||
*/
|
||||
|
||||
[scriptable, uuid(390b974b-1c3a-4700-8001-5ef832c4b4bf)]
|
||||
[scriptable, uuid(8e6d81a9-a6e1-44af-95be-cbe86de36ede)]
|
||||
interface nsIDOMHTMLVideoElement : nsIDOMHTMLMediaElement
|
||||
{
|
||||
attribute long width;
|
||||
|
|
|
@ -44,7 +44,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedString;
|
||||
|
||||
[scriptable, uuid(f1b259b6-587c-46fe-8800-2f0156fe04e8)]
|
||||
[scriptable, uuid(0e0081ce-8b9d-4c26-baeb-a5e99f5126f9)]
|
||||
interface nsIDOMSVGAElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "nsIDOMSVGTextPositionElem.idl"
|
||||
|
||||
[scriptable, uuid(a1491d59-8e4e-4ed9-aa1b-c599bd01173a)]
|
||||
[scriptable, uuid(e86efca6-0391-4e9a-83dc-90b3b761a690)]
|
||||
interface nsIDOMSVGAltGlyphElement : nsIDOMSVGTextPositioningElement
|
||||
/*
|
||||
The SVG DOM makes use of multiple interface inheritance.
|
||||
|
|
|
@ -37,5 +37,5 @@
|
|||
|
||||
#include "nsIDOMSVGAnimationElement.idl"
|
||||
|
||||
[scriptable, uuid(3a2ef7b7-5687-40ab-b607-6f84ea9728cc)]
|
||||
[scriptable, uuid(01a99850-013b-4821-97fd-798732c8cc53)]
|
||||
interface nsIDOMSVGAnimateElement : nsIDOMSVGAnimationElement {};
|
||||
|
|
|
@ -37,5 +37,5 @@
|
|||
|
||||
#include "nsIDOMSVGAnimationElement.idl"
|
||||
|
||||
[scriptable, uuid(e847ef4c-0c4e-417a-b5e2-7e22dc42a233)]
|
||||
[scriptable, uuid(29d02159-1517-49dc-8a83-8824fb166c09)]
|
||||
interface nsIDOMSVGAnimateMotionElement : nsIDOMSVGAnimationElement { };
|
||||
|
|
|
@ -37,5 +37,5 @@
|
|||
|
||||
#include "nsIDOMSVGAnimationElement.idl"
|
||||
|
||||
[scriptable, uuid(0967287a-97a0-4926-936c-1749f1e67a68)]
|
||||
[scriptable, uuid(62e30f49-3566-4415-8971-b0ddd2c8bf97)]
|
||||
interface nsIDOMSVGAnimateTransformElement : nsIDOMSVGAnimationElement {};
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(91183127-a2a5-43ee-a9ce-737a4d25e65e)]
|
||||
[scriptable, uuid(412616f5-b7a0-4160-9c64-5c328cb73836)]
|
||||
interface nsIDOMSVGAnimationElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(5d80ae99-417a-4454-96bd-3a9a2b03eee9)]
|
||||
[scriptable, uuid(9c3e3e1f-0332-4b6c-8699-554edb3a972f)]
|
||||
interface nsIDOMSVGCircleElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
|
||||
[scriptable, uuid(860d3dbd-c59e-446c-85b5-2b534ad70308)]
|
||||
[scriptable, uuid(384359ad-7c3f-4638-9364-95e4d42b4c0c)]
|
||||
interface nsIDOMSVGClipPathElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(db31fc68-8b12-46be-86d3-6a8c2acc5798)]
|
||||
[scriptable, uuid(e6dd64f2-c59b-4c0f-85fb-63b748c20057)]
|
||||
interface nsIDOMSVGDefsElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(38c2cf34-1eb1-4cd9-ad5e-b9caae9e6b28)]
|
||||
[scriptable, uuid(e97484c1-5b32-4e7e-8ad6-e04ea8100d3f)]
|
||||
interface nsIDOMSVGDescElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGSVGElement;
|
||||
|
||||
[scriptable, uuid(b0cf8ffb-92e7-46e7-870f-a01395f37336)]
|
||||
[scriptable, uuid(dbb1b49c-dce5-43fe-97ea-e249b5620aa2)]
|
||||
interface nsIDOMSVGElement : nsIDOMElement
|
||||
{
|
||||
attribute DOMString id;
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(162e83b9-78e5-4794-83ef-07e501bd0226)]
|
||||
[scriptable, uuid(6dff169d-43b8-4727-8dc2-b14c897951a3)]
|
||||
interface nsIDOMSVGEllipseElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@ interface nsIDOMSVGAnimatedLength;
|
|||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
interface nsIDOMSVGAnimatedInteger;
|
||||
|
||||
[scriptable, uuid(e8bdae49-70af-46ed-9c06-b11a7173f68f)]
|
||||
[scriptable, uuid(d4ffe017-20da-44eb-8111-9e814be8d313)]
|
||||
interface nsIDOMSVGFilterElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -45,7 +45,7 @@ interface nsIDOMSVGAnimatedNumberList;
|
|||
interface nsIDOMSVGAnimatedInteger;
|
||||
interface nsIDOMSVGAnimatedBoolean;
|
||||
|
||||
[scriptable, uuid(8404c54c-e9f4-4b3f-b051-6c50ce302707)]
|
||||
[scriptable, uuid(0baad34c-3937-4a62-8098-5988ad6d3582)]
|
||||
interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedLength x;
|
||||
|
@ -55,7 +55,7 @@ interface nsIDOMSVGFilterPrimitiveStandardAttributes : nsIDOMSVGElement
|
|||
readonly attribute nsIDOMSVGAnimatedString result;
|
||||
};
|
||||
|
||||
[scriptable, uuid(0809043b-8806-4620-bb1b-ce16a963df5c)]
|
||||
[scriptable, uuid(15d091f6-ffdd-4b22-90d3-45671a3a153c)]
|
||||
interface nsIDOMSVGFEBlendElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
const unsigned short SVG_MODE_UNKNOWN = 0;
|
||||
|
@ -70,7 +70,7 @@ interface nsIDOMSVGFEBlendElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
|||
readonly attribute nsIDOMSVGAnimatedEnumeration mode;
|
||||
};
|
||||
|
||||
[scriptable, uuid(3e3a705b-019b-46c2-b825-b28cd253985f)]
|
||||
[scriptable, uuid(9865eca2-ec73-4241-b17c-3707a84801a0)]
|
||||
interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Color Matrix Types
|
||||
|
@ -85,13 +85,13 @@ interface nsIDOMSVGFEColorMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttrib
|
|||
readonly attribute nsIDOMSVGAnimatedNumberList values;
|
||||
};
|
||||
|
||||
[scriptable, uuid(e38fee58-b3d2-4a43-aa20-cb120f20f169)]
|
||||
[scriptable, uuid(8dd308d2-19b0-4d0a-a600-fc97cc278840)]
|
||||
interface nsIDOMSVGFEComponentTransferElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
};
|
||||
|
||||
[scriptable, uuid(d47f3d16-f01a-4f3d-8c8d-5f731071a9f3)]
|
||||
[scriptable, uuid(8d1c623f-81d0-494d-abf4-089447d71e19)]
|
||||
interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
|
||||
{
|
||||
// Component Transfer Types
|
||||
|
@ -111,7 +111,7 @@ interface nsIDOMSVGComponentTransferFunctionElement : nsIDOMSVGElement
|
|||
readonly attribute nsIDOMSVGAnimatedNumber offset;
|
||||
};
|
||||
|
||||
[scriptable, uuid(5161f394-f864-4f15-9dd3-5dc2942b7af6)]
|
||||
[scriptable, uuid(4c817cff-3eb1-4aa3-86cc-6c1d26304d51)]
|
||||
interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Operator Types
|
||||
|
@ -135,27 +135,27 @@ interface nsIDOMSVGFECompositeElement : nsIDOMSVGFilterPrimitiveStandardAttribut
|
|||
|
||||
};
|
||||
|
||||
[scriptable, uuid(d7a30bca-e11f-4f9f-8eac-60503992d01f)]
|
||||
[scriptable, uuid(16cc0d3d-7d9d-4994-8e22-51a2ca8bc286)]
|
||||
interface nsIDOMSVGFEFuncRElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(1e03b087-09ed-4161-bd02-66090336c2fb)]
|
||||
[scriptable, uuid(28140f4f-11b0-4aaa-988f-91183de9174d)]
|
||||
interface nsIDOMSVGFEFuncGElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(cd7a6e70-92f1-43ac-8058-7a95cae8b0f9)]
|
||||
[scriptable, uuid(3d7b80be-be90-4d5f-bd7f-ad8a41e25650)]
|
||||
interface nsIDOMSVGFEFuncBElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(d7d1f35d-eed5-4dad-a964-e122b0130355)]
|
||||
[scriptable, uuid(52cf6761-4ff7-467f-9828-0fb2f51a70cf)]
|
||||
interface nsIDOMSVGFEFuncAElement : nsIDOMSVGComponentTransferFunctionElement
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(f553395b-4f49-4ee5-ab4e-f7454559bc01)]
|
||||
[scriptable, uuid(aa828fdd-855c-4def-b911-0305521e6b3c)]
|
||||
interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
|
@ -165,35 +165,35 @@ interface nsIDOMSVGFEGaussianBlurElement : nsIDOMSVGFilterPrimitiveStandardAttri
|
|||
void setStdDeviation ( in float stdDeviationX, in float stdDeviationY );
|
||||
};
|
||||
|
||||
[scriptable, uuid(ac3451df-d5c0-4cf9-afff-2795f18a613f)]
|
||||
[scriptable, uuid(680478f7-e018-448e-a5f8-994737a1f3cc)]
|
||||
interface nsIDOMSVGFEMergeElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(b12bb1de-5894-4d7e-9e66-290e1aa00e85)]
|
||||
[scriptable, uuid(556ae82f-a713-4075-8b1a-a484c147b55e)]
|
||||
interface nsIDOMSVGFEMergeNodeElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
};
|
||||
|
||||
[scriptable, uuid(b1ca27de-f871-42cf-9b11-ff4fe815d773)]
|
||||
[scriptable, uuid(5528a83d-6dd5-48a0-917a-e67d688d76ed)]
|
||||
interface nsIDOMSVGFEOffsetElement : nsIDOMSVGFilterPrimitiveStandardAttributes {
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber dx;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber dy;
|
||||
};
|
||||
|
||||
[scriptable, uuid(1d2ed8b1-df5f-47da-8471-a95419f4623c)]
|
||||
[scriptable, uuid(610e2fe0-3d6a-4cf0-8df6-b65da8d29367)]
|
||||
interface nsIDOMSVGFEFloodElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(80e6a232-ae4e-42f6-92dd-1692fc5c204d)]
|
||||
[scriptable, uuid(4590fc6a-5dc1-45bc-9e86-0af377d6ecbd)]
|
||||
interface nsIDOMSVGFETileElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
};
|
||||
|
||||
[scriptable, uuid(98f4704a-e713-4849-b4df-0a58c0aa37de)]
|
||||
[scriptable, uuid(bec76206-825d-40c9-bded-0810daafb117)]
|
||||
interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Turbulence Types
|
||||
|
@ -213,7 +213,7 @@ interface nsIDOMSVGFETurbulenceElement : nsIDOMSVGFilterPrimitiveStandardAttribu
|
|||
readonly attribute nsIDOMSVGAnimatedEnumeration type;
|
||||
};
|
||||
|
||||
[scriptable, uuid(a94e66ab-b02a-4a2e-9fe5-82547ffe20b4)]
|
||||
[scriptable, uuid(7246ba36-0dd1-43fc-8536-908e8985b77a)]
|
||||
interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Operator Types
|
||||
|
@ -229,7 +229,7 @@ interface nsIDOMSVGFEMorphologyElement : nsIDOMSVGFilterPrimitiveStandardAttribu
|
|||
void setRadius ( in float rx, in float ry );
|
||||
};
|
||||
|
||||
[scriptable, uuid(6f8665d3-c4ff-4037-b978-23b3acd7606f)]
|
||||
[scriptable, uuid(812fdfe3-93fd-4787-9909-7158d839ea69)]
|
||||
interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Edge Mode Values
|
||||
|
@ -252,7 +252,7 @@ interface nsIDOMSVGFEConvolveMatrixElement : nsIDOMSVGFilterPrimitiveStandardAtt
|
|||
readonly attribute nsIDOMSVGAnimatedBoolean preserveAlpha;
|
||||
};
|
||||
|
||||
[scriptable, uuid(0ece9f3f-1eba-48ba-bb79-71dffeed8991)]
|
||||
[scriptable, uuid(3683aa0d-9d2f-45cd-8bc8-9b8a79e519b7)]
|
||||
interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
|
@ -262,7 +262,7 @@ interface nsIDOMSVGFEDiffuseLightingElement : nsIDOMSVGFilterPrimitiveStandardA
|
|||
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
|
||||
};
|
||||
|
||||
[scriptable, uuid(63c69f01-0d1c-42b5-9eb0-8dbfe5c09132)]
|
||||
[scriptable, uuid(f3a96e7a-48db-4d75-b16a-368f7fa39482)]
|
||||
interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
readonly attribute nsIDOMSVGAnimatedString in1;
|
||||
|
@ -273,20 +273,20 @@ interface nsIDOMSVGFESpecularLightingElement : nsIDOMSVGFilterPrimitiveStandardA
|
|||
readonly attribute nsIDOMSVGAnimatedNumber kernelUnitLengthY;
|
||||
};
|
||||
|
||||
[scriptable, uuid(a00f01ad-e078-409c-b521-a4179691026e)]
|
||||
[scriptable, uuid(bcd675cb-8794-4083-a6f4-1577a6c23f2b)]
|
||||
interface nsIDOMSVGFEDistantLightElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedNumber azimuth;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber elevation;
|
||||
};
|
||||
|
||||
[scriptable, uuid(7a20d48c-7cdb-46e1-a309-382bb06b034c)]
|
||||
[scriptable, uuid(57786525-10bd-4599-9bc0-f2a76ff10178)]
|
||||
interface nsIDOMSVGFEPointLightElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedNumber x;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber y;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber z;
|
||||
};
|
||||
|
||||
[scriptable, uuid(302fb017-7097-443c-880a-8770843140fb)]
|
||||
[scriptable, uuid(4bc6bd22-7faf-409e-acff-0d554ff93b2e)]
|
||||
interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
|
||||
readonly attribute nsIDOMSVGAnimatedNumber x;
|
||||
readonly attribute nsIDOMSVGAnimatedNumber y;
|
||||
|
@ -298,7 +298,7 @@ interface nsIDOMSVGFESpotLightElement : nsIDOMSVGElement {
|
|||
readonly attribute nsIDOMSVGAnimatedNumber limitingConeAngle;
|
||||
};
|
||||
|
||||
[scriptable, uuid(2ddaa418-8212-4154-85e8-0cd62958c161)]
|
||||
[scriptable, uuid(477bb1c0-4923-467f-a0ce-85cbe87c2324)]
|
||||
interface nsIDOMSVGFEImageElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
/*
|
||||
nsIDOMSVGURIReference,
|
||||
|
@ -308,7 +308,7 @@ interface nsIDOMSVGFEImageElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
|||
{
|
||||
};
|
||||
|
||||
[scriptable, uuid(d610bd29-6423-4020-9f06-f6003708479d)]
|
||||
[scriptable, uuid(7a7548ed-f578-433b-b6b3-d034f5f19f44)]
|
||||
interface nsIDOMSVGFEDisplacementMapElement : nsIDOMSVGFilterPrimitiveStandardAttributes
|
||||
{
|
||||
// Channel Selectors
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(315e8422-fe3c-46e8-bb2c-4a573871554c)]
|
||||
[scriptable, uuid(7639563d-b19c-46d3-afb4-1bef937e8c29)]
|
||||
interface nsIDOMSVGForeignObjectElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(e0b50fbd-1d1f-44b9-8458-6d54600b2f73)]
|
||||
[scriptable, uuid(a5b4fa2e-65fb-4e9a-bb1b-00106a4fd813)]
|
||||
interface nsIDOMSVGGElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
interface nsIDOMSVGAnimatedTransformList;
|
||||
|
||||
[scriptable, uuid(6e7f3ee0-91c7-433e-b025-0050442b5dbb)]
|
||||
[scriptable, uuid(9c21dbc3-09bf-4905-ab84-b86c3f7471ce)]
|
||||
interface nsIDOMSVGGradientElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
@ -88,7 +88,7 @@ interface nsIDOMSVGGradientElement
|
|||
// Linear gradient
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(b6ffa3ea-a39f-4ebb-86df-f7d3b889dff7)]
|
||||
[scriptable, uuid(42f66e56-ea42-4c75-a190-0dc5ad19afa4)]
|
||||
interface nsIDOMSVGLinearGradientElement
|
||||
: nsIDOMSVGGradientElement
|
||||
{
|
||||
|
@ -110,7 +110,7 @@ interface nsIDOMSVGLinearGradientElement
|
|||
// Radial gradient
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(67041054-7013-4c56-84db-448edb98936d)]
|
||||
[scriptable, uuid(6b4b82a3-424f-41bc-b748-0cdec4a7f419)]
|
||||
interface nsIDOMSVGRadialGradientElement
|
||||
: nsIDOMSVGGradientElement
|
||||
{
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
interface nsIDOMSVGAnimatedLength;
|
||||
interface nsIDOMSVGAnimatedPreserveAspectRatio;
|
||||
|
||||
[scriptable, uuid(c06f8f78-d499-42ae-b186-15aa7552628d)]
|
||||
[scriptable, uuid(048da3ff-aa94-4988-8f5c-3aae4a630008)]
|
||||
interface nsIDOMSVGImageElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(2d75d39d-ff9e-4d4f-afe9-05bc9e022e8d)]
|
||||
[scriptable, uuid(0db4b4ba-01f4-4aba-8054-084febfc96ae)]
|
||||
interface nsIDOMSVGLineElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsIDOMSVGMatrix;
|
|||
*
|
||||
*/
|
||||
|
||||
[scriptable, uuid(e7f31745-5ffb-4e10-9bb4-618fd854c5af)]
|
||||
[scriptable, uuid(df5bb334-0f72-4188-ae8d-467cec5019bf)]
|
||||
interface nsIDOMSVGMarkerElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
interface nsIDOMSVGAnimatedLength;
|
||||
interface nsIDOMSVGAnimatedEnumeration;
|
||||
|
||||
[scriptable, uuid(be2bf834-d5b8-45be-9411-21e3c97052d6)]
|
||||
[scriptable, uuid(90670735-4ea4-4d68-b6ef-15c93c3b922c)]
|
||||
interface nsIDOMSVGMaskElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(35c9435d-8973-46dc-9ce4-ac52f7617a65)]
|
||||
[scriptable, uuid(08953b06-59da-4d19-a551-31ebf92fd6f4)]
|
||||
interface nsIDOMSVGMetadataElement
|
||||
: nsIDOMSVGElement
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
* http://www.w3.org/TR/SVG/animate.html#mpathElement
|
||||
*/
|
||||
|
||||
[scriptable, uuid(c8522141-cee5-4ecf-bcbc-70c69a3c2e2c)]
|
||||
[scriptable, uuid(f419e51b-3054-4cff-b55a-f096cf06f1c9)]
|
||||
interface nsIDOMSVGMpathElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -60,7 +60,7 @@ interface nsIDOMSVGPathSegCurvetoCubicSmoothRel;
|
|||
interface nsIDOMSVGPathSegCurvetoQuadraticSmoothAbs;
|
||||
interface nsIDOMSVGPathSegCurvetoQuadraticSmoothRel;
|
||||
|
||||
[scriptable, uuid(906f82c7-c632-4b1f-9dfd-3905b9080935)]
|
||||
[scriptable, uuid(8fd0f541-49c2-484d-a34c-a24eb25fe286)]
|
||||
interface nsIDOMSVGPathElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -51,7 +51,7 @@ interface nsIDOMSVGAnimatedEnumeration;
|
|||
interface nsIDOMSVGAnimatedTransformList;
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(b2ecc991-e150-4fab-b36e-05847887aa51)]
|
||||
[scriptable, uuid(b8b4500d-e389-42b6-ae54-dd163d6c7c03)]
|
||||
interface nsIDOMSVGPatternElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(b94c1af4-f464-41c9-9d38-b8e47f869aa9)]
|
||||
[scriptable, uuid(c6f0dbd7-ad84-4566-bc57-715bc617ff27)]
|
||||
interface nsIDOMSVGPolygonElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
|
||||
#include "nsIDOMSVGElement.idl"
|
||||
|
||||
[scriptable, uuid(c2a0becc-3b3d-45a9-8f5c-b13963aadf6b)]
|
||||
[scriptable, uuid(e0269dec-7084-4ef5-8dbd-7e41c6e820da)]
|
||||
interface nsIDOMSVGPolylineElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
|
||||
interface nsIDOMSVGAnimatedLength;
|
||||
|
||||
[scriptable, uuid(19eff2bb-224a-41dc-b3bb-c135c9d17d35)]
|
||||
[scriptable, uuid(578f6b8f-1e40-43e4-95a5-422fbd093006)]
|
||||
interface nsIDOMSVGRectElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
|
@ -55,7 +55,7 @@ interface nsIDOMSVGTransform;
|
|||
#endif
|
||||
%}
|
||||
|
||||
[scriptable, uuid(e7ff88bd-26f8-4f2e-b01c-4e7b80d45117)]
|
||||
[scriptable, uuid(19198100-d373-408b-9b75-4c6c6310ea5b)]
|
||||
interface nsIDOMSVGSVGElement
|
||||
: nsIDOMSVGElement
|
||||
/*
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче