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:
parent
5cb01b63fc
commit
d33943c13b
@ -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 =
|
||||
|
||||
@ -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 =
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user