mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
Added XML display support. Creation of XML elements through the DOM
This commit is contained in:
parent
21b75c4ff3
commit
e0004fcce5
@ -73,6 +73,12 @@ public:
|
||||
nsISupports *aParent,
|
||||
void **aReturn)=0;
|
||||
|
||||
NS_IMETHOD NewScriptXMLElement(const nsString &aTagName,
|
||||
nsIScriptContext *aContext,
|
||||
nsISupports *aElement,
|
||||
nsISupports *aParent,
|
||||
void **aReturn)=0;
|
||||
|
||||
NS_IMETHOD NewScriptHTMLCollection(nsIScriptContext *aContext,
|
||||
nsISupports *aCollection,
|
||||
nsISupports *aParent,
|
||||
|
@ -237,6 +237,12 @@ public:
|
||||
nsISupports *aElement,
|
||||
nsISupports *aParent,
|
||||
void **aReturn);
|
||||
|
||||
NS_IMETHOD NewScriptXMLElement(const nsString &aTagName,
|
||||
nsIScriptContext *aContext,
|
||||
nsISupports *aElement,
|
||||
nsISupports *aParent,
|
||||
void **aReturn);
|
||||
|
||||
NS_IMETHOD NewScriptHTMLCollection(nsIScriptContext *aContext,
|
||||
nsISupports *aCollection,
|
||||
@ -483,6 +489,16 @@ nsDOMScriptObjectFactory::NewScriptElement(const nsString &aTagName,
|
||||
}
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMScriptObjectFactory::NewScriptXMLElement(const nsString &aTagName,
|
||||
nsIScriptContext *aContext,
|
||||
nsISupports *aElement,
|
||||
nsISupports *aParent,
|
||||
void **aReturn)
|
||||
{
|
||||
return NS_NewScriptElement(aContext, aElement, aParent, aReturn);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsDOMScriptObjectFactory::NewScriptHTMLCollection(nsIScriptContext *aContext,
|
||||
nsISupports *aCollection,
|
||||
|
Loading…
Reference in New Issue
Block a user