зеркало из https://github.com/mozilla/gecko-dev.git
synchronize the view of a table cell if we dont realign the cell content vertically, bug 237734, r/sr=roc a=chofmann
This commit is contained in:
Родитель
26b1761add
Коммит
1a0dd341a6
|
@ -1321,6 +1321,9 @@ nsTableRowFrame::IR_TargetIsChild(nsIPresContext* aPresContext,
|
||||||
if (cellKidFrame) {
|
if (cellKidFrame) {
|
||||||
cellFrame->ConsiderChildOverflow(aPresContext, cellMet.mOverflowArea, cellKidFrame);
|
cellFrame->ConsiderChildOverflow(aPresContext, cellMet.mOverflowArea, cellKidFrame);
|
||||||
cellFrame->StoreOverflow(aPresContext, cellMet);
|
cellFrame->StoreOverflow(aPresContext, cellMet);
|
||||||
|
if (cellFrame->HasView()) {
|
||||||
|
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, cellFrame, cellFrame->GetView(), &cellMet.mOverflowArea, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1321,6 +1321,9 @@ nsTableRowFrame::IR_TargetIsChild(nsIPresContext* aPresContext,
|
||||||
if (cellKidFrame) {
|
if (cellKidFrame) {
|
||||||
cellFrame->ConsiderChildOverflow(aPresContext, cellMet.mOverflowArea, cellKidFrame);
|
cellFrame->ConsiderChildOverflow(aPresContext, cellMet.mOverflowArea, cellKidFrame);
|
||||||
cellFrame->StoreOverflow(aPresContext, cellMet);
|
cellFrame->StoreOverflow(aPresContext, cellMet);
|
||||||
|
if (cellFrame->HasView()) {
|
||||||
|
nsContainerFrame::SyncFrameViewAfterReflow(aPresContext, cellFrame, cellFrame->GetView(), &cellMet.mOverflowArea, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче