aDesiredSize.width = NSIntPixelsToTwips(300, p2t);
aDesiredSize.width = PR_MIN(PR_MAX(NSIntPixelsToTwips(300, p2t), aReflowState.mComputedMinWidth), aReflowState.mComputedMaxWidth);
nsHTMLFrameOuterFrame::GetDesiredSize(nsIPresContext* aPresContext,                                      const nsHTMLReflowState& aReflowState,                                      nsHTMLReflowMetrics& aDesiredSize){  // <frame> processing does not use this routine, only <iframe>  float p2t;  aPresContext->GetScaledPixelsToTwips(&p2t);  // If no width/height was specified, use 300/150.  // This is for compatability with IE.  if (NS_UNCONSTRAINEDSIZE != aReflowState.mComputedWidth) {    aDesiredSize.width = aReflowState.mComputedWidth;  }  else {    aDesiredSize.width = NSIntPixelsToTwips(300, p2t);  }  if (NS_UNCONSTRAINEDSIZE != aReflowState.mComputedHeight) {    aDesiredSize.height = aReflowState.mComputedHeight;  }  else {    aDesiredSize.height = NSIntPixelsToTwips(150, p2t);  }  aDesiredSize.ascent = aDesiredSize.height;  aDesiredSize.descent = 0;  // For unknown reasons, the max-element-width for the InnerFrame is  // used, but the max-element-width for the OuterFrame is ignored, the  // following is not used!  if (aDesiredSize.mComputeMEW) {    aDesiredSize.mMaxElementWidth = aDesiredSize.width;  }}