report frames currently on the overflow list as frames on a additional childlist to get their views reparented if a frame higher in the tree needs to reparent the views bug 362724 r/sr=roc

This commit is contained in:
bmlk%gmx.de 2006-12-10 06:46:17 +00:00
Родитель 69dad724a4
Коммит 52d6f885ce
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -1300,6 +1300,9 @@ nsTableFrame::GetAdditionalChildListName(PRInt32 aIndex) const
if (aIndex == NS_TABLE_FRAME_COLGROUP_LIST_INDEX) {
return nsLayoutAtoms::colGroupList;
}
if (aIndex == NS_TABLE_FRAME_OVERFLOW_LIST_INDEX) {
return nsLayoutAtoms::overflowList;
}
return nsnull;
}

Просмотреть файл

@ -65,7 +65,8 @@ enum nsPixelRound {eAlwaysRoundUp=0, eAlwaysRoundDown, eRoundUpIfHalfOrMore};
* @see #GetAdditionalChildListName()
*/
#define NS_TABLE_FRAME_COLGROUP_LIST_INDEX 0
#define NS_TABLE_FRAME_LAST_LIST_INDEX NS_TABLE_FRAME_COLGROUP_LIST_INDEX
#define NS_TABLE_FRAME_OVERFLOW_LIST_INDEX 1
#define NS_TABLE_FRAME_LAST_LIST_INDEX NS_TABLE_FRAME_OVERFLOW_LIST_INDEX
/* ============================================================================ */