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:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user