зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
69dad724a4
Коммит
52d6f885ce
|
@ -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
|
||||
|
||||
/* ============================================================================ */
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче