Adding new tab handling and focus support.

git-svn-id: svn://10.0.0.236/trunk@22599 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
joki%netscape.com
1999-03-02 19:19:24 +00:00
parent 59406ac999
commit e62bbe65fe
35 changed files with 908 additions and 116 deletions

View File

@@ -726,6 +726,8 @@ nsDocument::Reset(nsIURL *aURL)
}
if (nsnull != mRootContent) {
// Ensure that document is nsnull to allow validity checks on content
mRootContent->SetDocument(nsnull, PR_TRUE);
ContentRemoved(nsnull, mRootContent, 0);
NS_IF_RELEASE(mRootContent);
}