Changed width/height constraints in nsHTMLReflowState struct

This commit is contained in:
troy@netscape.com
1998-12-30 17:50:00 +00:00
parent c97c80b0cb
commit 57c9c45a75
31 changed files with 308 additions and 382 deletions

View File

@@ -680,13 +680,13 @@ nsFormControlFrame::GetStyleSize(nsIPresContext& aPresContext,
nsSize& aSize)
{
if (aReflowState.HaveFixedContentWidth()) {
aSize.width = aReflowState.minWidth;
aSize.width = aReflowState.computedWidth;
}
else {
aSize.width = CSS_NOTSET;
}
if (aReflowState.HaveFixedContentHeight()) {
aSize.height = aReflowState.minHeight;
aSize.height = aReflowState.computedHeight;
}
else {
aSize.height = CSS_NOTSET;