print previewing url freezes bon echo (and minefield if you zoom too)
Patch by leon.sha@sun.com
bernd_mozilla: review+
roc: superreview+
This commit is contained in:
leon.sha%sun.com 2006-08-07 11:03:43 +00:00
Родитель d73977650a
Коммит 2c818d7977
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -3208,7 +3208,10 @@ nsTableFrame::ReflowChildren(nsTableReflowState& aReflowState,
kidReflowState.mComputedWidth = PR_MAX(kidReflowState.mComputedWidth, 0);
// If this isn't the first row group, then we can't be at the top of the page
if (childX > 0) {
// When a new page starts, a head row group may be added automatically.
// We also consider the row groups just after the head as the top of the page.
// That is to prevent the infinite loop in some circumstance. See bug 344883.
if (childX > (thead ? 1 : 0)) {
kidReflowState.mFlags.mIsTopOfPage = PR_FALSE;
}
aReflowState.y += cellSpacingY;