nsInlineState(nsStyleFont*     aStyleFont,
nsInlineState(nsIPresContext*  aPresContext, nsIFrame*        aInlineFrame, nsStyleFont*     aStyleFont,
  nsInlineState(nsStyleFont*     aStyleFont,                const nsMargin&  aBorderPadding,                const nsSize&    aMaxSize,                nsSize*          aMaxElementSize)    : x(aBorderPadding.left),  // determined by inner edge      y(aBorderPadding.top)    // determined by inner edge  {    font = aStyleFont;    borderPadding = aBorderPadding;    unconstrainedWidth = PRBool(aMaxSize.width == NS_UNCONSTRAINEDSIZE);    unconstrainedHeight = PRBool(aMaxSize.height == NS_UNCONSTRAINEDSIZE);    // If we're constrained adjust the available size so it excludes space    // needed for border/padding    availSize.width = aMaxSize.width;    if (PR_FALSE == unconstrainedWidth) {      availSize.width -= aBorderPadding.left + aBorderPadding.right;    }    availSize.height = aMaxSize.height;    if (PR_FALSE == unconstrainedHeight) {      availSize.height -= aBorderPadding.top + aBorderPadding.bottom;    }    // Initialize max element size    maxElementSize = aMaxElementSize;    if (nsnull != maxElementSize) {      maxElementSize->SizeTo(0, 0);    }    ascents = ascentBuf;    maxAscent = 0;    maxDescent = 0;  }