Create a block frame for run-in and compact frames
git-svn-id: svn://10.0.0.236/trunk@14314 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1238,6 +1238,8 @@ HTMLStyleSheetImpl::ConstructFrameByDisplayType(nsIPresContext* aPresContext,
|
||||
switch (aDisplay->mDisplay) {
|
||||
case NS_STYLE_DISPLAY_BLOCK:
|
||||
case NS_STYLE_DISPLAY_LIST_ITEM:
|
||||
case NS_STYLE_DISPLAY_RUN_IN:
|
||||
case NS_STYLE_DISPLAY_COMPACT:
|
||||
rv = NS_NewBlockFrame(aContent, aParentFrame, aNewFrame, PR_FALSE);
|
||||
processChildren = PR_TRUE;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user