nscoord nsFileControlFrame::GetMinWidth(nsRenderingContext *aRenderingContext) { nscoord result; DISPLAY_MIN_WIDTH(this, result); // Our min width is our pref width result = GetPrefWidth(aRenderingContext); return result; }
nscoord nsTextControlFrame::GetMinWidth(nsRenderingContext* aRenderingContext) { // Our min width is just our preferred width if we have auto width. nscoord result; DISPLAY_MIN_WIDTH(this, result); result = GetPrefWidth(aRenderingContext); return result; }
nscoord nsIsIndexFrame::GetMinWidth(nsRenderingContext *aRenderingContext) { nscoord result; DISPLAY_MIN_WIDTH(this, result); // Our min width is our pref width; the rest of our reflow is // happily handled by nsBlockFrame result = GetPrefWidth(aRenderingContext); return result; }