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:
vidur%netscape.com
2001-09-11 03:04:49 +00:00
parent 1aef6dea67
commit 10d80cd1e9
10 changed files with 277 additions and 6 deletions

View File

@@ -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
//