зеркало из https://github.com/mozilla/pjs.git
bug 60749 - on a table cell frame style change reflow, reinitialize the table's strategy.
This commit is contained in:
Родитель
656fcbb1f4
Коммит
83b5a56248
|
@ -659,6 +659,8 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
|
|||
if (isStyleChanged) {
|
||||
kidReflowState.reason = eReflowReason_StyleChange;
|
||||
kidReflowState.reflowCommand = nsnull;
|
||||
// the following could be optimized with a fair amount of effort
|
||||
tableFrame->SetNeedStrategyInit(PR_TRUE);
|
||||
}
|
||||
|
||||
// Assume the inner child will stay positioned exactly where it is. Later in
|
||||
|
|
|
@ -659,6 +659,8 @@ NS_METHOD nsTableCellFrame::Reflow(nsIPresContext* aPresContext,
|
|||
if (isStyleChanged) {
|
||||
kidReflowState.reason = eReflowReason_StyleChange;
|
||||
kidReflowState.reflowCommand = nsnull;
|
||||
// the following could be optimized with a fair amount of effort
|
||||
tableFrame->SetNeedStrategyInit(PR_TRUE);
|
||||
}
|
||||
|
||||
// Assume the inner child will stay positioned exactly where it is. Later in
|
||||
|
|
Загрузка…
Ссылка в новой задаче