mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bad pref, min, max size assertion with equalsize b=402912 r=enn sr=roc a=schrep
This commit is contained in:
parent
e226cabf97
commit
9f8e160b9c
@ -1104,6 +1104,8 @@ nsSprocketLayout::ChildResized(nsIBox* aBox,
|
||||
aChildBoxSize->min = childActualWidth;
|
||||
if (aChildBoxSize->pref < childActualWidth)
|
||||
aChildBoxSize->pref = childActualWidth;
|
||||
if (aChildBoxSize->max < childActualWidth)
|
||||
aChildBoxSize->max = childActualWidth;
|
||||
|
||||
// if we have flexible elements with us then reflex things. Otherwise we can skip doing it.
|
||||
if (aFlexes > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user