bug 151956 - make sure child of row group is a row in CalcRowHeights. sr=kin, r=bernd.
This commit is contained in:
@@ -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++;
|
||||
|
||||
@@ -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++;
|
||||
|
||||
Reference in New Issue
Block a user