Added IsValidFragment and CreateRange implementations. Added GetContentType method to nsIDocument interface.

This commit is contained in:
vidur@netscape.com
1999-05-11 20:22:35 +00:00
parent 84c3e472da
commit 8c4b5ba767
18 changed files with 288 additions and 8 deletions
@@ -261,6 +261,13 @@ nsHTMLDocument::Reset(nsIURL *aURL)
return result;
}
NS_IMETHODIMP
nsHTMLDocument::GetContentType(nsString& aContentType) const
{
aContentType.SetString("text/html");
return NS_OK;
}
NS_IMETHODIMP
nsHTMLDocument::StartDocumentLoad(nsIURL *aURL,
nsIContentViewerContainer* aContainer,