bug 30692 (additional patch) - deal width percent height based contents inside a table cell during an incremental reflow. sr=attinasi, r=alexsavulov

This commit is contained in:
karnaze%netscape.com 2001-11-21 14:38:40 +00:00
Родитель 8a4c29e9f5
Коммит bded829e9f
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -802,7 +802,7 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
SetPriorAvailWidth(aReflowState.availableWidth);
nsIFrame* firstKid = mFrames.FirstChild();
if (aReflowState.mFlags.mSpecialTableReflow) {
if (aReflowState.mFlags.mSpecialTableReflow || (eReflowReason_Incremental == aReflowState.reason)) {
((nsHTMLReflowState&)aReflowState).mComputedHeight = mRect.height - topInset - bottomInset;
}
nsHTMLReflowState kidReflowState(aPresContext, aReflowState, firstKid,

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

@ -802,7 +802,7 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
SetPriorAvailWidth(aReflowState.availableWidth);
nsIFrame* firstKid = mFrames.FirstChild();
if (aReflowState.mFlags.mSpecialTableReflow) {
if (aReflowState.mFlags.mSpecialTableReflow || (eReflowReason_Incremental == aReflowState.reason)) {
((nsHTMLReflowState&)aReflowState).mComputedHeight = mRect.height - topInset - bottomInset;
}
nsHTMLReflowState kidReflowState(aPresContext, aReflowState, firstKid,