зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
58d298a104
Коммит
02b26fed86
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче