зеркало из https://github.com/mozilla/pjs.git
Added run-in and compact display types to the TreatFrameAsBlockFrame method
This commit is contained in:
Родитель
b33c7a8030
Коммит
898a0138ad
|
@ -206,6 +206,8 @@ nsLineLayout::TreatFrameAsBlock(const nsStyleDisplay* aDisplay,
|
|||
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:
|
||||
case NS_STYLE_DISPLAY_TABLE:
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
|
|
@ -206,6 +206,8 @@ nsLineLayout::TreatFrameAsBlock(const nsStyleDisplay* aDisplay,
|
|||
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:
|
||||
case NS_STYLE_DISPLAY_TABLE:
|
||||
return PR_TRUE;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче