mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 16:22:00 +00:00
Some improvements to the row splitting code
This commit is contained in:
parent
519b665bc0
commit
bd67066c8a
@ -433,6 +433,7 @@ nsTableCellFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
|
||||
}
|
||||
cf->Init(aPresContext, mContent, aParent, aStyleContext);
|
||||
cf->AppendToFlow(this);
|
||||
cf->InitCellFrame(GetColIndex());
|
||||
aContinuingFrame = cf;
|
||||
|
||||
// Create a continuing body frame
|
||||
|
@ -1426,8 +1426,9 @@ nsTableRowFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
|
||||
}
|
||||
cf->Init(aPresContext, mContent, aParent, aStyleContext);
|
||||
cf->AppendToFlow(this);
|
||||
cf->SetRowIndex(GetRowIndex());
|
||||
|
||||
// Create a continuing frame for each table cell
|
||||
// Create a continuing frame for each table cell frame
|
||||
nsIFrame* newChildList;
|
||||
for (nsIFrame* kidFrame = mFirstChild;
|
||||
nsnull != kidFrame;
|
||||
|
@ -433,6 +433,7 @@ nsTableCellFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
|
||||
}
|
||||
cf->Init(aPresContext, mContent, aParent, aStyleContext);
|
||||
cf->AppendToFlow(this);
|
||||
cf->InitCellFrame(GetColIndex());
|
||||
aContinuingFrame = cf;
|
||||
|
||||
// Create a continuing body frame
|
||||
|
@ -1426,8 +1426,9 @@ nsTableRowFrame::CreateContinuingFrame(nsIPresContext& aPresContext,
|
||||
}
|
||||
cf->Init(aPresContext, mContent, aParent, aStyleContext);
|
||||
cf->AppendToFlow(this);
|
||||
cf->SetRowIndex(GetRowIndex());
|
||||
|
||||
// Create a continuing frame for each table cell
|
||||
// Create a continuing frame for each table cell frame
|
||||
nsIFrame* newChildList;
|
||||
for (nsIFrame* kidFrame = mFirstChild;
|
||||
nsnull != kidFrame;
|
||||
|
Loading…
Reference in New Issue
Block a user