Bug 14827: Reset scrollbars, don't turn them to auto for SetDocument r=harishd a=rickg

git-svn-id: svn://10.0.0.236/trunk@61352 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pollmann%netscape.com
2000-02-19 02:54:32 +00:00
parent 3e4d79ac10
commit 92c08ebe30
2 changed files with 2 additions and 2 deletions

View File

@@ -3935,7 +3935,7 @@ NS_IMETHODIMP nsWebShell::SetDocument(nsIDOMDocument *aDOMDoc,
rootContent->SetDocument(doc, PR_TRUE);
// (6) reflow the document
SetScrolling(-1, PR_FALSE);
InitFrameData(PR_FALSE); // Reset the scrolling state to initial
PRInt32 i;
PRInt32 ns = doc->GetNumberOfShells();
for (i = 0; i < ns; i++)