bug 151956 - make sure child of row group is a row in CalcRowHeights. sr=kin, r=bernd.

This commit is contained in:
karnaze%netscape.com 2002-06-19 13:37:18 +00:00
parent 818af92414
commit 88f6934f88
2 changed files with 2 additions and 6 deletions

View File

@ -628,9 +628,7 @@ nsTableRowGroupFrame::CalculateRowHeights(nsIPresContext* aPresContext,
nsTableRowFrame* startRowFrame = aStartRowFrameIn;
if (!startRowFrame || (startRowIndex != startRowIndexSave)) {
PRInt32 rowX = rgStart;
for (startRowFrame = (nsTableRowFrame*)mFrames.FirstChild();
startRowFrame;
startRowFrame->GetNextSibling((nsIFrame**)&startRowFrame)) {
for (startRowFrame = GetFirstRow(); startRowFrame; startRowFrame = startRowFrame->GetNextRow()) {
if (rowX >= startRowIndex)
break;
rowX++;

View File

@ -628,9 +628,7 @@ nsTableRowGroupFrame::CalculateRowHeights(nsIPresContext* aPresContext,
nsTableRowFrame* startRowFrame = aStartRowFrameIn;
if (!startRowFrame || (startRowIndex != startRowIndexSave)) {
PRInt32 rowX = rgStart;
for (startRowFrame = (nsTableRowFrame*)mFrames.FirstChild();
startRowFrame;
startRowFrame->GetNextSibling((nsIFrame**)&startRowFrame)) {
for (startRowFrame = GetFirstRow(); startRowFrame; startRowFrame = startRowFrame->GetNextRow()) {
if (rowX >= startRowIndex)
break;
rowX++;