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:
parent
8d7b5f2cd2
commit
c982f01623
@ -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++;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user