diff --git a/layout/base/nsCSSFrameConstructor.cpp b/layout/base/nsCSSFrameConstructor.cpp index 7554f04d966..262006e1a7f 100644 --- a/layout/base/nsCSSFrameConstructor.cpp +++ b/layout/base/nsCSSFrameConstructor.cpp @@ -6440,6 +6440,7 @@ nsCSSFrameConstructor::ConstructXULFrame(nsFrameConstructorState& aState, } // This is its own frame that derives from box. + isReplaced = PR_TRUE; newFrame = NS_NewMenuPopupFrame(mPresShell, aStyleContext); if (aTag == nsXULAtoms::tooltip) {