зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
9a1a766995
Коммит
640d129a66
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче