mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 17:23:59 +00:00
bug 151956 - make sure child of row group is a row in CalcRowHeights. sr=kin, r=bernd.
This commit is contained in:
parent
818af92414
commit
88f6934f88
@ -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…
Reference in New Issue
Block a user