fixed printing assertions; more throughly check cell map usage for contuining frames;
fixed bug 24057; r=kmcclusk,cmanske; could not run mail smoke tests due to prior bustage. git-svn-id: svn://10.0.0.236/trunk@57952 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -732,7 +732,7 @@ NS_METHOD nsTableRowFrame::ResizeReflow(nsIPresContext* aPresContext,
|
||||
PRInt32 cellColIndex;
|
||||
((nsTableCellFrame *)kidFrame)->GetColIndex(cellColIndex);
|
||||
cellColSpan = aReflowState.tableFrame->GetEffectiveColSpan(cellColIndex,
|
||||
((nsTableCellFrame *)kidFrame));
|
||||
((nsTableCellFrame &)*kidFrame));
|
||||
|
||||
// Compute the x-origin for the child, taking into account straddlers (cells from prior
|
||||
// rows with rowspans > 1)
|
||||
@@ -1206,7 +1206,7 @@ NS_METHOD nsTableRowFrame::IR_TargetIsChild(nsIPresContext* aPresContext,
|
||||
PRInt32 cellColIndex;
|
||||
((nsTableCellFrame *)aNextFrame)->GetColIndex(cellColIndex);
|
||||
PRInt32 cellColSpan = aReflowState.tableFrame->GetEffectiveColSpan(cellColIndex,
|
||||
((nsTableCellFrame *)aNextFrame));
|
||||
((nsTableCellFrame &)*aNextFrame));
|
||||
nscoord cellSpacingX = aReflowState.tableFrame->GetCellSpacingX();
|
||||
|
||||
nscoord cellAvailWidth = CalculateCellAvailableWidth(aReflowState.tableFrame, aNextFrame,
|
||||
|
||||
Reference in New Issue
Block a user