mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-24 21:58:06 +00:00
bad pref, min, max size assertion with equalsize b=402912 r=enn sr=roc a=schrep
This commit is contained in:
parent
c028a6ce7f
commit
c5f5a988f9
@ -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…
x
Reference in New Issue
Block a user