mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
Add bug number to comment.
This commit is contained in:
parent
e3a5b93a76
commit
30909d3979
@ -1548,8 +1548,9 @@ nsNativeThemeWin::GetMinimumWidgetSize(nsIRenderingContext* aContext, nsIFrame*
|
||||
// so use the min-size request value (of 0).
|
||||
|
||||
// We should let HTML buttons shrink to their min size.
|
||||
// FIXME: We should probably really separate GetPreferredWidgetSize
|
||||
// from GetMinimumWidgetSize, so callers can use the one they want.
|
||||
// FIXME bug 403934: We should probably really separate
|
||||
// GetPreferredWidgetSize from GetMinimumWidgetSize, so callers can
|
||||
// use the one they want.
|
||||
if (aWidgetType == NS_THEME_BUTTON &&
|
||||
aFrame->GetContent()->IsNodeOfType(nsINode::eHTML))
|
||||
sizeReq = 0; /* TS_MIN */
|
||||
|
Loading…
Reference in New Issue
Block a user