First of a few changes to allow frames to have multiple child lists.

FirstChild() now takes an additional argument which is the name of the
child list.
This commit is contained in:
troy@netscape.com
1998-11-09 19:40:27 +00:00
parent 5ae011654a
commit b04ee51233
31 changed files with 212 additions and 129 deletions
@@ -240,7 +240,7 @@ NS_METHOD nsTableRowGroupFrame::HandleEvent(nsIPresContext& aPresContext,
aEventStatus = nsEventStatus_eIgnore;
nsIFrame* kid;
FirstChild(kid);
FirstChild(nsnull, kid);
while (nsnull != kid) {
nsRect kidRect;
kid->GetRect(kidRect);
@@ -694,7 +694,7 @@ void nsTableRowGroupFrame::ShrinkWrapChildren(nsIPresContext* aPresContext,
if (gsDebug) printf("TRGF SWC: for row %p...\n", rowFrame);
// check this row for a cell with rowspans
nsIFrame *cellFrame;
rowFrame->FirstChild(cellFrame);
rowFrame->FirstChild(nsnull, cellFrame);
while (nsnull != cellFrame)
{
const nsStyleDisplay *childDisplay;
@@ -1109,7 +1109,7 @@ PRBool nsTableRowGroupFrame::NoRowsFollow()
(NS_STYLE_DISPLAY_TABLE_ROW_GROUP == sibDisplay->mDisplay))
{
nsIFrame *childFrame=nsnull;
nextSib->FirstChild(childFrame);
nextSib->FirstChild(nsnull, childFrame);
while (nsnull!=childFrame)
{
const nsStyleDisplay *childDisplay;