width = RoundToPixel(width, p2t);
width = RoundToPixel(width, p2t, eRoundUpIfHalfOrMore);
nsTableFrame::CalcBorderBoxWidth(const nsHTMLReflowState& aState){  nscoord width = aState.mComputedWidth;  if (eStyleUnit_Auto == aState.mStylePosition->mWidth.GetUnit()) {    if (0 == width) {      width = aState.availableWidth;    }    if (NS_UNCONSTRAINEDSIZE != aState.availableWidth) {      width = aState.availableWidth;    }  }  else if (width != NS_UNCONSTRAINEDSIZE) {    nsMargin borderPadding = GetContentAreaOffset(&aState);    width += borderPadding.left + borderPadding.right;  }  width = PR_MAX(width, 0);  if (NS_UNCONSTRAINEDSIZE != width) {    float p2t;    p2t = GetPresContext()->PixelsToTwips();    width = RoundToPixel(width, p2t);  }  return width;}