Backing out bug 392040 to fix bug 404872. a="it's a blocker regression, and it's keeping me and Gavin from using Bugzilla"
This commit is contained in:
@@ -542,7 +542,7 @@ nsContainerFrame::SyncFrameViewProperties(nsPresContext* aPresContext,
|
||||
// visible in all cases because the scrollbars will be showing
|
||||
// XXXldb Does the view system really enforce this correctly?
|
||||
viewIsVisible = PR_FALSE;
|
||||
} else if (aFrame->GetType() == nsGkAtoms::menuPopupFrame || aFrame->GetType() == nsGkAtoms::listControlFrame) {
|
||||
} else if (aFrame->GetType() == nsGkAtoms::menuPopupFrame) {
|
||||
// if the view is for a popup, don't show the view if the popup is closed
|
||||
nsIWidget* widget = aView->GetWidget();
|
||||
if (widget) {
|
||||
|
||||
Reference in New Issue
Block a user