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

git-svn-id: svn://10.0.0.236/trunk@123581 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
karnaze%netscape.com 2002-06-19 13:37:18 +00:00
parent 8d7b5f2cd2
commit c982f01623
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++;