removed the substraction of the border and padding for fixed width

r=kmcclusk b 18448


git-svn-id: svn://10.0.0.236/trunk@55382 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com
1999-12-05 20:45:58 +00:00
parent dc5c34441e
commit 7a55d88518
2 changed files with 6 additions and 2 deletions

View File

@@ -356,6 +356,7 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
//longest element in the list
nsHTMLReflowState secondPassState(aReflowState);
nsHTMLReflowState firstPassState(aReflowState);
//nsHTMLReflowState firstPassState(aPresContext, nsnull,
// this, aDesiredSize);
@@ -454,7 +455,8 @@ nsListControlFrame::Reflow(nsIPresContext* aPresContext,
visibleWidth = scrolledAreaWidth;
} else {
visibleWidth = aReflowState.mComputedWidth - scrollbarWidth;
visibleWidth -= (border.left + border.right + padding.left + padding.right);
// XXX rods - this hould not be subtracted in
//visibleWidth -= (border.left + border.right + padding.left + padding.right);
}
}