diff --git a/layout/generic/nsContainerFrame.cpp b/layout/generic/nsContainerFrame.cpp index 32c81fb54b63..c45a18fb2d29 100644 --- a/layout/generic/nsContainerFrame.cpp +++ b/layout/generic/nsContainerFrame.cpp @@ -844,6 +844,9 @@ nsContainerFrame::FrameNeedsView(nsIFrame* aFrame) } } + if (aFrame->GetParent()->GetStyleDisplay()->mDisplay==NS_STYLE_DISPLAY_STACK) + return PR_TRUE; + return PR_FALSE; }