зеркало из https://github.com/mozilla/gecko-dev.git
Bug 382746 "ASSERTION: Lists not the same length"Bug 382899 "ASSERTION: bad pref, min, max size"Both patches r=Enn sr=bz
This commit is contained in:
Родитель
f9f342643d
Коммит
2007eeca82
|
@ -452,6 +452,7 @@ nsSprocketLayout::Layout(nsIBox* aBox, nsBoxLayoutState& aState)
|
|||
{
|
||||
childComputedBoxSize = childComputedBoxSize->next;
|
||||
childBoxSize = childBoxSize->next;
|
||||
child = child->GetNextBox();
|
||||
count++;
|
||||
x = nextX;
|
||||
y = nextY;
|
||||
|
@ -916,6 +917,8 @@ nsSprocketLayout::PopulateBoxSizes(nsIBox* aBox, nsBoxLayoutState& aState, nsBox
|
|||
|
||||
// we specified all our children are equal size;
|
||||
if (frameState & NS_STATE_EQUAL_SIZE) {
|
||||
nsBox::BoundsCheck(biggestMinWidth, biggestPrefWidth, smallestMaxWidth);
|
||||
|
||||
currentBox = aBoxSizes;
|
||||
|
||||
while(currentBox)
|
||||
|
|
Загрузка…
Ссылка в новой задаче