Make the block part of an {ib} split have a space manager if it needs to. Bug 354133, r+sr=roc, a=dveditz
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_0_BRANCH@214907 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -13351,6 +13351,10 @@ nsCSSFrameConstructor::ConstructInline(nsFrameConstructorState& aState,
|
||||
blockSC = mPresShell->StyleSet()->ResolvePseudoStyleFor(aContent, blockStyle,
|
||||
aStyleContext);
|
||||
|
||||
if (! aState.mFloatedItems.containingBlock) {
|
||||
blockFrame->AddStateBits(NS_BLOCK_SPACE_MGR | NS_BLOCK_MARGIN_ROOT);
|
||||
}
|
||||
|
||||
InitAndRestoreFrame(aState, aContent, aParentFrame, blockSC, nsnull,
|
||||
blockFrame, PR_FALSE);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user