зеркало из https://github.com/mozilla/gecko-dev.git
Create a block frame for run-in and compact frames
This commit is contained in:
Родитель
af89649a87
Коммит
66157a9852
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Загрузка…
Ссылка в новой задаче