bug 392040, SELECT menu requires multiple clicks to show up on some pages. This also happened when using full page zoom. r+sr=roc, a=blocking1.9+

This commit is contained in:
hwaara@gmail.com 2007-11-19 11:20:35 -08:00
Родитель 58d298a104
Коммит 02b26fed86
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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) {
} else if (aFrame->GetType() == nsGkAtoms::menuPopupFrame || aFrame->GetType() == nsGkAtoms::listControlFrame) {
// if the view is for a popup, don't show the view if the popup is closed
nsIWidget* widget = aView->GetWidget();
if (widget) {