diff --git a/mozilla/layout/xul/base/src/nsMenuPopupFrame.cpp b/mozilla/layout/xul/base/src/nsMenuPopupFrame.cpp index 60b881e3a68..db1a9c5ec86 100644 --- a/mozilla/layout/xul/base/src/nsMenuPopupFrame.cpp +++ b/mozilla/layout/xul/base/src/nsMenuPopupFrame.cpp @@ -220,7 +220,9 @@ nsMenuPopupFrame::CreateWidgetForView(nsIView* aView) const nsStyleBackground* bg; PRBool hasBG = nsCSSRendering::FindBackground(GetPresContext(), this, &bg, &isCanvas); - PRBool viewHasTransparentContent = hasBG && (bg->mBackgroundFlags & NS_STYLE_BG_COLOR_TRANSPARENT); + PRBool viewHasTransparentContent = hasBG && + (bg->mBackgroundFlags & NS_STYLE_BG_COLOR_TRANSPARENT) && + !GetStyleDisplay()->mAppearance; nsIContent* parentContent = GetContent()->GetParent(); nsIAtom *tag = nsnull;