Fix for bug 98815. Implement DOM Level 3 namespace methods for prefix and URI lookup. The implementation of these may be changed later if we get rid of the nsINameSpace interface. r=heikki, sr=jst
git-svn-id: svn://10.0.0.236/trunk@102732 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1640,6 +1640,24 @@ nsHTMLDocument::GetBaseURI(nsAWritableString &aURI)
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLDocument::LookupNamespacePrefix(const nsAReadableString& aNamespaceURI,
|
||||
nsAWritableString& aPrefix)
|
||||
{
|
||||
aPrefix.Truncate();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsHTMLDocument::LookupNamespaceURI(const nsAReadableString& aNamespacePrefix,
|
||||
nsAWritableString& aNamespaceURI)
|
||||
{
|
||||
aNamespaceURI.Truncate();
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
|
||||
//
|
||||
// nsIDOMHTMLDocument interface implementation
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user