Bug 18649: non FormControlFrame derived form elements also only scroll when not at all visible r=rods

git-svn-id: svn://10.0.0.236/trunk@58636 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pollmann%netscape.com
2000-01-25 22:19:39 +00:00
parent 7b82e8a16d
commit 1dac48338c
9 changed files with 9 additions and 9 deletions

View File

@@ -351,7 +351,7 @@ nsHTMLButtonControlFrame::ScrollIntoView(nsIPresContext* aPresContext)
nsCOMPtr<nsIPresShell> presShell;
aPresContext->GetShell(getter_AddRefs(presShell));
presShell->ScrollFrameIntoView(this,
NS_PRESSHELL_SCROLL_ANYWHERE,NS_PRESSHELL_SCROLL_ANYWHERE);
NS_PRESSHELL_SCROLL_IF_NOT_VISIBLE,NS_PRESSHELL_SCROLL_IF_NOT_VISIBLE);
}
}