nscoord mw = aState.maxSize.width + aState.mBulletPadding;
nscoord mw = aState.maxSize.width;
nsCSSBlockFrame::ComputeFinalSize(nsCSSBlockReflowState& aState,                                  nsReflowMetrics&  aMetrics,                                  nsRect&           aDesiredRect){  aDesiredRect.x = 0;  aDesiredRect.y = 0;  // Special check for zero sized content: If our content is zero  // sized then we collapse into nothingness.  if ((0 == aState.mKidXMost - aState.mBorderPadding.left) &&      (0 == aState.mY - aState.mBorderPadding.top)) {    aDesiredRect.width = 0;    aDesiredRect.height = 0;    aMetrics.posBottomMargin = 0;  }  else {    aDesiredRect.width = aState.mKidXMost + aState.mBorderPadding.right;    if (!aState.mUnconstrainedWidth) {      // Make sure we're at least as wide as the max size we were given      nscoord mw = aState.maxSize.width + aState.mBulletPadding;      if (aDesiredRect.width < mw) {        aDesiredRect.width = mw;      }    }    if (0 != aState.mBorderPadding.bottom) {      aState.mY += aState.mBorderPadding.bottom;      aMetrics.posBottomMargin = 0;    }    else {      aMetrics.posBottomMargin = aState.mPrevBottomMargin;    }    aDesiredRect.height = aState.mY;    if (!aState.mBlockIsPseudo) {      // Clamp the desired rect height when style height applies      PRIntn ss = aState.mStyleSizeFlags;      if (0 != (ss & NS_SIZE_HAS_HEIGHT)) {        aDesiredRect.height = aState.mBorderPadding.top +          aState.mStyleSize.height + aState.mBorderPadding.bottom;      }    }  }  aMetrics.width = aDesiredRect.width;  aMetrics.height = aDesiredRect.height;  aMetrics.ascent = aMetrics.height;  aMetrics.descent = 0;  if (aState.mComputeMaxElementSize) {    *aMetrics.maxElementSize = aState.mMaxElementSize;    // Add in our border and padding to the max-element-size so that    // we don't shrink too far.    aMetrics.maxElementSize->width += aState.mBorderPadding.left +      aState.mBorderPadding.right;    aMetrics.maxElementSize->height += aState.mBorderPadding.top +      aState.mBorderPadding.bottom;  }  NS_ASSERTION(aDesiredRect.width < 1000000, "whoops");}