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

git-svn-id: svn://10.0.0.236/trunk@31128 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
vidur%netscape.com
1999-05-11 20:22:35 +00:00
parent 2806500656
commit 5ed31d3cbe
18 changed files with 288 additions and 8 deletions

View File

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