bug 59280 - better splitting of row groups/rows with rowspans. r=dcone.

This commit is contained in:
karnaze@netscape.com
2001-04-16 14:51:52 +00:00
parent ca181e1dff
commit 0a905725d4
12 changed files with 444 additions and 276 deletions

View File

@@ -276,31 +276,6 @@ public:
#endif
};
inline nsresult nsTableCellFrame::GetRowIndex(PRInt32 &aRowIndex) const
{
nsTableCellFrame* cell = (nsTableCellFrame*)GetFirstInFlow();
nsresult result;
nsTableRowFrame * row;
cell->GetParent((nsIFrame **)&row);
if (nsnull!=row)
{
aRowIndex = row->GetRowIndex();
result = NS_OK;
}
else
{
aRowIndex = 0;
result = NS_ERROR_NOT_INITIALIZED;
}
return result;
}
inline nsresult nsTableCellFrame::GetColIndex(PRInt32 &aColIndex) const
{
aColIndex = mColIndex;
return NS_OK;
}
inline nscoord nsTableCellFrame::GetPriorAvailWidth()
{ return mPriorAvailWidth;}