Create table-cell's body as a top-level body so that it doesn't shrink wrap around it's children during pass2 table reflow

git-svn-id: svn://10.0.0.236/trunk@11459 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kipp%netscape.com 1998-09-29 22:36:30 +00:00
parent 5cb01b63fc
commit d33943c13b
2 changed files with 2 additions and 2 deletions

View File

@ -74,7 +74,7 @@ NS_IMETHODIMP
nsTableCellFrame::Init(nsIPresContext& aPresContext, nsIFrame* aChildList)
{
// Create body pseudo frame
NS_NewBodyFrame(mContent, this, mFirstChild, PR_FALSE);
NS_NewBodyFrame(mContent, this, mFirstChild, PR_TRUE);
// Resolve style and set the style context
nsIStyleContext* styleContext =

View File

@ -74,7 +74,7 @@ NS_IMETHODIMP
nsTableCellFrame::Init(nsIPresContext& aPresContext, nsIFrame* aChildList)
{
// Create body pseudo frame
NS_NewBodyFrame(mContent, this, mFirstChild, PR_FALSE);
NS_NewBodyFrame(mContent, this, mFirstChild, PR_TRUE);
// Resolve style and set the style context
nsIStyleContext* styleContext =