Bug 269212. CSS select:focus outline too large on combobox, extending past the right side. Make sure to FinishAndStoreOverflow() even if returning early from nsComboboxFrame::Reflow(). r+sr=roc

This commit is contained in:
aaronleventhal%moonset.net 2004-12-01 16:17:44 +00:00
Родитель 5dee634fa7
Коммит d3e9a04f62
2 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1175,6 +1175,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext,
aDesiredSize.mOverflowArea.y = 0;
aDesiredSize.mOverflowArea.width = aDesiredSize.width;
aDesiredSize.mOverflowArea.height = aDesiredSize.height;
FinishAndStoreOverflow(&aDesiredSize);
return NS_OK;
}
@ -1420,6 +1421,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext,
aDesiredSize.mOverflowArea.y = 0;
aDesiredSize.mOverflowArea.width = aDesiredSize.width;
aDesiredSize.mOverflowArea.height = aDesiredSize.height;
FinishAndStoreOverflow(&aDesiredSize);
return NS_OK;
}
} else {

Просмотреть файл

@ -1175,6 +1175,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext,
aDesiredSize.mOverflowArea.y = 0;
aDesiredSize.mOverflowArea.width = aDesiredSize.width;
aDesiredSize.mOverflowArea.height = aDesiredSize.height;
FinishAndStoreOverflow(&aDesiredSize);
return NS_OK;
}
@ -1420,6 +1421,7 @@ nsComboboxControlFrame::Reflow(nsPresContext* aPresContext,
aDesiredSize.mOverflowArea.y = 0;
aDesiredSize.mOverflowArea.width = aDesiredSize.width;
aDesiredSize.mOverflowArea.height = aDesiredSize.height;
FinishAndStoreOverflow(&aDesiredSize);
return NS_OK;
}
} else {