bug 34538 - allow more types of non table content inside table content get frames.

This commit is contained in:
karnaze%netscape.com 2000-05-04 14:53:59 +00:00
Родитель d9597d7e35
Коммит 4d98b01382
2 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -2534,7 +2534,8 @@ nsCSSFrameConstructor::ConstructTableRowGroupFrame(nsIPresShell* aPre
aNewFrame->SetInitialChildList(aPresContext, nsnull, childItems.childList);
}
if (aIsPseudoParent) {
aState.mPseudoFrames.mTableInner.mChildList.AddChild(aNewFrame);
nsIFrame* child = (scrollFrame) ? scrollFrame : aNewFrame;
aState.mPseudoFrames.mTableInner.mChildList.AddChild(child);
}
}
@ -2823,7 +2824,7 @@ nsCSSFrameConstructor::MustGeneratePseudoParent(nsIPresContext* aPresContext,
}
#endif
return PR_FALSE;
return PR_TRUE;
}
// this is called when a non table related element is a child of a table, row group,

Просмотреть файл

@ -2534,7 +2534,8 @@ nsCSSFrameConstructor::ConstructTableRowGroupFrame(nsIPresShell* aPre
aNewFrame->SetInitialChildList(aPresContext, nsnull, childItems.childList);
}
if (aIsPseudoParent) {
aState.mPseudoFrames.mTableInner.mChildList.AddChild(aNewFrame);
nsIFrame* child = (scrollFrame) ? scrollFrame : aNewFrame;
aState.mPseudoFrames.mTableInner.mChildList.AddChild(child);
}
}
@ -2823,7 +2824,7 @@ nsCSSFrameConstructor::MustGeneratePseudoParent(nsIPresContext* aPresContext,
}
#endif
return PR_FALSE;
return PR_TRUE;
}
// this is called when a non table related element is a child of a table, row group,