Various modifications/fixes/cleanup for frame-based listboxes.
Set display type to block for option elements in ua.css. Enable frame-based listboxes when widget render mode is gfx. git-svn-id: svn://10.0.0.236/trunk@24696 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -377,9 +377,11 @@ NS_IMETHODIMP nsComboboxControlFrame::Reflow(nsIPresContext& aPresConte
|
||||
aPresContext.GetScaledPixelsToTwips(&sp2t);
|
||||
nscoord onePixel = NSIntPixelsToTwips(1, sp2t);
|
||||
|
||||
#if 0
|
||||
nscoord scrollbarWidth = 0;
|
||||
nscoord scrollbarHeight = 0;
|
||||
nsListControlFrame::GetScrollBarDimensions(aPresContext, scrollbarWidth, scrollbarHeight);
|
||||
#endif
|
||||
|
||||
nscoord extra = desiredSize.height - (rowHeight * numRows);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user