mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
minor fix for max-element-size. The minsize needs to be calc and cached during the regular reflow
there is too much state to be remember to calc the min size for when ever it is asked for it. (see also fix nsBoxFramae.cpp) b=40596 r=evaughan
This commit is contained in:
parent
0ca85e6a01
commit
284077eb18
@ -1920,7 +1920,7 @@ nsGfxTextControlFrame2::GetPrefSize(nsBoxLayoutState& aState, nsSize& aSize)
|
||||
NS_IMETHODIMP
|
||||
nsGfxTextControlFrame2::GetMinSize(nsBoxLayoutState& aState, nsSize& aSize)
|
||||
{
|
||||
|
||||
#define FIX_FOR_BUG_40596
|
||||
#ifdef FIX_FOR_BUG_40596
|
||||
aSize = mMinSize;
|
||||
return NS_OK;
|
||||
|
Loading…
Reference in New Issue
Block a user