Fix for regression that prevented listboxes inside of inline containers from showing up. b=69785 r=kmcclusk sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@93959 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
2315989f62
commit
2b4c47f502
@ -426,7 +426,10 @@ nsScrollFrame::CreateScrollingView(nsIPresContext* aPresContext)
|
||||
}
|
||||
|
||||
// Initialize the scrolling view
|
||||
view->Init(viewManager, mRect, parentView, nsViewVisibility_kHide);
|
||||
view->Init(viewManager, mRect, parentView,
|
||||
display->IsVisible() ?
|
||||
nsViewVisibility_kShow :
|
||||
nsViewVisibility_kHide);
|
||||
|
||||
// Insert the view into the view hierarchy
|
||||
viewManager->InsertChild(parentView, view, zIndex);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user