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:
@@ -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++)
|
||||
|
||||
Reference in New Issue
Block a user