FixAutoMargins(childRS);
FixAutoMargins(aOuterRS.availableWidth, childRS);
GetMarginPadding(nsIPresContext*          aPresContext,                                      const nsHTMLReflowState& aOuterRS,                 nsIFrame*                aChildFrame,                 nsMargin&                aMargin,                 nsMargin&                aPadding,                 PRBool                   aZeroAutoMargins = PR_FALSE){  // construct a reflow state to compute margin and padding. Auto margins  // will not be computed at this time.  nsHTMLReflowState childRS(aPresContext, aOuterRS, aChildFrame,                             nsSize(aOuterRS.availableWidth, aOuterRS.availableHeight),                             eReflowReason_Resize);  if (aZeroAutoMargins) {    nsMargin adjMargin = childRS.mComputedMargin;    nsTableOuterFrame::ZeroAutoMargin(adjMargin);    aMargin = adjMargin;  }  else {    FixAutoMargins(childRS);    aMargin = childRS.mComputedMargin;  }  aPadding = childRS.mComputedPadding;}